Skip to content

Commit

Permalink
We need this as bootstrap uses it
Browse files Browse the repository at this point in the history
The validator can't handle this
(w3c/css-validator#111) and the feature is
only a draft (https://www.w3.org/TR/css-variables-1/) but widely
supported.
  • Loading branch information
vmcj committed Nov 13, 2023
1 parent d2a67ae commit 2705f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/webstandard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if [ "$TEST" = "w3cval" ]; then
rm -f localhost/domjudge/jury/config/check/phpinfo*
# We need any value for bs-gutter-x to calculate with in CSS
for f in $(find ./ -name "style_domjudge.css*"); do
sed -i 's/:root {/:root {--bs-gutter-x: 0em;/g' $f
sed -i 's/var(--bs-gutter-x)/1em/g' $f
done
section_end upstream_problems

Expand Down

0 comments on commit 2705f81

Please sign in to comment.