From: Andy Allan Date: Wed, 6 Sep 2023 17:23:22 +0000 (+0100) Subject: Use multiplication for secondary-actions margin and padding X-Git-Tag: live~1479^2~7 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/ffe637f23d81a9e9ba769020ad0ffbb04a5e3a7d?ds=sidebyside Use multiplication for secondary-actions margin and padding This avoids using the sass division operator, which is deprecated. --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index ec037aafc..181524a0e 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1139,9 +1139,9 @@ nav.secondary-actions { flex-basis: auto; list-style: none; border-left: 1px solid $grey; - padding-left: $lineheight/2; - margin-right: $lineheight/2; - margin-bottom: $lineheight/8; + padding-left: $lineheight * 0.5; + margin-right: $lineheight * 0.5; + margin-bottom: $lineheight * 0.125; } } }