Add max height for ACP dashboard boxes
authorMarcel Werk <burntime@woltlab.com>
Fri, 13 Sep 2024 09:45:54 +0000 (11:45 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 13 Sep 2024 09:45:54 +0000 (11:45 +0200)
ref https://www.woltlab.com/community/thread/308030-masonry-grid-oder-scroll-bar-f%C3%BCr-die-acp-dashboard-boxen/

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

index a1fad4aacc33f4b0b077b64c4f8e10dd15f27626..271489b8bb63bb70f718de660934934ece134353 100644 (file)
@@ -972,6 +972,8 @@ html[data-color-scheme="dark"] {
 .acpDashboardBox__content {
        padding: 20px;
        height: 100%;
+       max-height: 500px;
+       overflow: auto;
 
        > :first-child {
                margin-top: 0 !important;