Suppress margins for the first/last child of a table cell
authorAlexander Ebert <ebert@woltlab.com>
Fri, 5 May 2023 10:04:50 +0000 (12:04 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 8 May 2023 16:34:04 +0000 (18:34 +0200)
wcfsetup/install/files/style/layout/global.scss

index 2eb9618a0ade10cef388ec214e8b583188144e2f..088e9f043837afac8d4d5454ac4dcecd379f3168 100644 (file)
@@ -166,6 +166,16 @@ ol.nativeList {
        ol {
                list-style-type: decimal;
        }
+
+       td {
+               > :first-child {
+                       margin-top: 0 !important;
+               }
+
+               > :last-child {
+                       margin-bottom: 0 !important;
+               }
+       }
 }
 
 .containerContent,