From 3839a854bbbc19fe57f83fc23076ece3ef332672 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 9 Nov 2020 01:04:13 +0100 Subject: [PATCH] Hide switch when n/a. --- src/wolnelektury/static/scss/book_text/settings.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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;} + } } -- 2.20.1