fix language error when both .en and .fr
This commit is contained in:
@@ -34,12 +34,14 @@
|
||||
* SWITCH LANGUAGE
|
||||
*/
|
||||
|
||||
/* the :not() guards keep elements having both classes
|
||||
(class="fr en") always visible */
|
||||
#language {
|
||||
&:not(:checked) ~ * .en {
|
||||
&:not(:checked) ~ * .en:not(.fr) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:checked ~ * .fr {
|
||||
&:checked ~ * .fr:not(.en) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user