From: Andy Allan Date: Wed, 13 Sep 2023 12:26:19 +0000 (+0100) Subject: Refactor remaining sass division operators to use multiplication X-Git-Tag: live~1447^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/841cff678bc76179dd58c319c7dd09dd9dffe9dc?hp=-c Refactor remaining sass division operators to use multiplication --- 841cff678bc76179dd58c319c7dd09dd9dffe9dc diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 395e449a1..b95d1fcd6 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -23,7 +23,7 @@ small, aside { .small_icon { vertical-align: middle; - margin-right: $lineheight/4; + margin-right: $lineheight * 0.25; } [dir=rtl] { /* no-r2 */ text-align: right; } @@ -102,7 +102,7 @@ header { > * { height: 100%; - padding: $lineheight/2; + padding: $lineheight * 0.5; } h1, nav.primary {