Fixed mobile menu icon display
authorSascha Greuel <github@1-2.dev>
Thu, 15 Aug 2024 19:52:50 +0000 (21:52 +0200)
committerSascha Greuel <github@1-2.dev>
Thu, 15 Aug 2024 19:59:01 +0000 (21:59 +0200)
See https://www.woltlab.com/community/thread/307709-mobil-men%C3%BC-dropdown-pfeil-zeigt-stets-nach-unten

wcfsetup/install/files/style/ui/pageMenu.scss

index 450968ebde28ae69763df6292f4ce80f1b5d64b0..f1d22d5a330d54fd5a7dae1d6c58274a04df84b7 100644 (file)
                top: 10px;
        }
 
-       .icon {
+       fa-icon {
                color: var(--wcfUserMenuText);
                transform: rotate(0);
        }
 
-       &[aria-expanded="true"] .icon {
+       &[aria-expanded="true"] fa-icon {
                transform: rotate(180deg);
        }
 }
        &[aria-selected="true"] {
                background-color: var(--wcfUserMenuBackgroundActive);
 
-               .icon {
+               fa-icon {
                        color: var(--wcfUserMenuTextActive);
                }
        }
                width: 10px;
        }
 
-       .icon {
+       fa-icon {
                color: var(--wcfUserMenuText);
        }
 }