Replace the negative margin hack of share buttons with `gap`
authorAlexander Ebert <ebert@woltlab.com>
Tue, 9 May 2023 13:16:14 +0000 (15:16 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 9 May 2023 13:16:14 +0000 (15:16 +0200)
Fixes #5489

wcfsetup/install/files/style/ui/shareButtons.scss

index 6f2fb0895347af36cc42fe351786102945cdb5d5..82a17e725e85bb2bee02184b79a06e89cf6347e6 100644 (file)
@@ -1,10 +1,9 @@
 .messageShareButtons {
        .inlineList {
-               margin-right: -5px;
-               margin-bottom: -5px;
+               gap: 5px;
 
-               > li {
-                       margin-bottom: 5px;
+               > li:not(:last-child) {
+                       margin-right: 0;
                }
        }