Improve the nesting of sidebar boxes
authorAlexander Ebert <ebert@woltlab.com>
Fri, 26 May 2023 11:59:52 +0000 (13:59 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 26 May 2023 11:59:52 +0000 (13:59 +0200)
See WoltLab/com.woltlab.filebase#194

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

index 486bfa44e504bbb9367f92c7390df6667a9ae6f2..7d3b2eda0805a32bc096b1a5d95463deb94b787a 100644 (file)
@@ -6,6 +6,19 @@
        }
 }
 
+.sidebarItemListEntry {
+       column-gap: 8px;
+       display: grid;
+       grid-template-columns: 24px auto;
+       position: relative;
+}
+
+.sidebarItemListEntryLink::before {
+       content: "";
+       inset: 0;
+       position: absolute;
+}
+
 .sidebarItem.new h3 {
        font-weight: 600;
 }