Explicitly define the text color in the mobile menu
authorAlexander Ebert <ebert@woltlab.com>
Tue, 28 Jun 2022 12:17:31 +0000 (14:17 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 28 Jun 2022 12:17:31 +0000 (14:17 +0200)
The elements previously implicitly inherited the text color from the surrounding HTML context rather than the element itself. This caused the colors from the content area to bleed into the mobile menu.

See https://www.woltlab.com/community/thread/295243-pro-und-kontra-neues-kontrollzentrum/?postID=1897430#post1897430 ff

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

index 246aa1f82053537821d57a02ef96056f9915b876..01e5867c156daa860ecf9c08fa0f555b4caa5e54 100644 (file)
@@ -19,6 +19,7 @@
        --color-indicator: #{$wcfUserMenuIndicator};
 
        background-color: var(--background-color);
+       color: var(--color);
        grid-area: content;
 }
 
        }
 
        .icon {
+               color: var(--color);
                transform: rotate(0);
        }
 
                top: 5px;
                width: 10px;
        }
+
+       .icon {
+               color: var(--color);
+       }
 }
 
 .pageMenuUserTabPanel {