From 841cff678bc76179dd58c319c7dd09dd9dffe9dc Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 13 Sep 2023 13:26:19 +0100 Subject: [PATCH 1/1] Refactor remaining sass division operators to use multiplication --- app/assets/stylesheets/common.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5