From 30e57116bd1cd133b16d5c1bd26271fa6952993c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 9 May 2023 15:16:14 +0200 Subject: [PATCH] Replace the negative margin hack of share buttons with `gap` Fixes #5489 --- wcfsetup/install/files/style/ui/shareButtons.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/style/ui/shareButtons.scss b/wcfsetup/install/files/style/ui/shareButtons.scss index 6f2fb08953..82a17e725e 100644 --- a/wcfsetup/install/files/style/ui/shareButtons.scss +++ b/wcfsetup/install/files/style/ui/shareButtons.scss @@ -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; } } -- 2.20.1