Incorrect behavior of user menus with overflowing content
authorAlexander Ebert <ebert@woltlab.com>
Thu, 3 Feb 2022 15:40:25 +0000 (16:40 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 3 Feb 2022 15:40:25 +0000 (16:40 +0100)
wcfsetup/install/files/style/ui/pageMenu.scss

index f691e2dcdeac9eb3bd0c02a9fe41aaabb5339ae3..5227f11cbaa2553528b9b6152077c18367c8f1a0 100644 (file)
 .pageMenuUserTabList {
        border-bottom: 1px solid var(--border-color);
        display: grid;
+       flex: 0 0 auto;
        grid-auto-columns: minmax(70px, 1fr);
        grid-auto-flow: column;
        overflow: auto;
 
 .pageMenuUserTabPanel {
        flex: 1 auto;
+       overflow: hidden;
 }
 
 @include screen-md-down {
        }
 }
 
-@include screen-sm-down {
-       .pageMenuMainNavigation:last-child {
-               /* Gap to prevent conflicts with the UI elements of touch browsers. */
-               margin-bottom: 30px;
-       }
-
-       .pageMenuUserTabContainer {
-               /* Gap to prevent conflicts with the UI elements of touch browsers. */
-               padding-bottom: 30px;
-       }
-}
-
 @include screen-xs {
        .pageMenuContent {
                width: 100%;