From: Radek Czajka Date: Mon, 9 Nov 2020 00:04:13 +0000 (+0100) Subject: Hide switch when n/a. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/3839a854bbbc19fe57f83fc23076ece3ef332672 Hide switch when n/a. --- diff --git a/src/wolnelektury/static/scss/book_text/settings.scss b/src/wolnelektury/static/scss/book_text/settings.scss index 66bc7e4b8..3ffe0f434 100644 --- a/src/wolnelektury/static/scss/book_text/settings.scss +++ b/src/wolnelektury/static/scss/book_text/settings.scss @@ -45,8 +45,11 @@ #settings-line-numbers span {@include switch-off;} } -#settings-references span {@include switch-on;} -.no-references { - #settings-references span {@include switch-off;} +#settings-references { + display: none; + span {@include switch-on;} + .no-references { + #settings-references span {@include switch-off;} + } }