From: Alexander Ebert Date: Sat, 26 Aug 2023 18:45:07 +0000 (+0200) Subject: Suppress the border of boxes with `.boxBorderless` X-Git-Tag: 6.0.0_Beta_4~44 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f5a7318ad18d16c8296d45f3b8ff44d8a8772143;p=GitHub%2FWoltLab%2FWCF.git Suppress the border of boxes with `.boxBorderless` See https://www.woltlab.com/community/thread/301308-sidebar-ads-show-the-border-of-the-box-in-dark-theme/ --- diff --git a/wcfsetup/install/files/style/layout/box.scss b/wcfsetup/install/files/style/layout/box.scss index 84d56b4dc9..4b6ba3897a 100644 --- a/wcfsetup/install/files/style/layout/box.scss +++ b/wcfsetup/install/files/style/layout/box.scss @@ -378,11 +378,11 @@ } .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;