From: Alexander Ebert Date: Tue, 9 May 2023 13:16:14 +0000 (+0200) Subject: Replace the negative margin hack of share buttons with `gap` X-Git-Tag: 6.0.0_Alpha_1~129 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=30e57116bd1cd133b16d5c1bd26271fa6952993c;p=GitHub%2FWoltLab%2FWCF.git Replace the negative margin hack of share buttons with `gap` Fixes #5489 --- 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; } }