Hide switch when n/a.
authorRadek Czajka <rczajka@rczajka.pl>
Mon, 9 Nov 2020 00:04:13 +0000 (01:04 +0100)
committerRadek Czajka <rczajka@rczajka.pl>
Mon, 9 Nov 2020 00:04:13 +0000 (01:04 +0100)
src/wolnelektury/static/scss/book_text/settings.scss

index 66bc7e4..3ffe0f4 100644 (file)
     #settings-line-numbers span {@include switch-off;}
 }
 
     #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;}
+    }
 }
 
 }