Suppress the border of boxes with `.boxBorderless`
authorAlexander Ebert <ebert@woltlab.com>
Sat, 26 Aug 2023 18:45:07 +0000 (20:45 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 26 Aug 2023 18:45:07 +0000 (20:45 +0200)
See https://www.woltlab.com/community/thread/301308-sidebar-ads-show-the-border-of-the-box-in-dark-theme/

wcfsetup/install/files/style/layout/box.scss

index 84d56b4dc93ee1f51cfc9ced117d5469007a367b..4b6ba3897a87e191a20e8420ff6a4caff4a8c8a7 100644 (file)
        }
 
        .box {
-               border: 1px solid var(--wcfSidebarBorder);
                border-radius: var(--wcfBorderRadius);
 
                &:not(.boxBorderless) {
                        background-color: var(--wcfSidebarBackground);
+                       border: 1px solid var(--wcfSidebarBorder);
 
                        @include screen-md-down {
                                padding: 20px 10px;