Skip to content

Commit 2705f81

Browse files
committed
We need this as bootstrap uses it
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.
1 parent d2a67ae commit 2705f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/webstandard.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if [ "$TEST" = "w3cval" ]; then
8282
rm -f localhost/domjudge/jury/config/check/phpinfo*
8383
# We need any value for bs-gutter-x to calculate with in CSS
8484
for f in $(find ./ -name "style_domjudge.css*"); do
85-
sed -i 's/:root {/:root {--bs-gutter-x: 0em;/g' $f
85+
sed -i 's/var(--bs-gutter-x)/1em/g' $f
8686
done
8787
section_end upstream_problems
8888

0 commit comments

Comments
 (0)