From 046afbb614900a8cac8f24a078c909ed013ca758 Mon Sep 17 00:00:00 2001 From: Hans Kuijpers Date: Sun, 19 Dec 2021 16:02:21 +0100 Subject: [PATCH] Solve deprecated warning using / for division outside of calc() (#976) * replace / by * * replace / by * * add leading zero * add leading zero --- src/styles/base.scss | 6 +++--- src/styles/choices.scss | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/styles/base.scss b/src/styles/base.scss index f293e69..671e32a 100644 --- a/src/styles/base.scss +++ b/src/styles/base.scss @@ -65,7 +65,7 @@ h4, h5, h6 { margin-top: 0; - margin-bottom: $global-guttering/2; + margin-bottom: $global-guttering * 0.5; font-weight: 400; line-height: 1.2; } @@ -152,7 +152,7 @@ label + p { .logo { display: block; - margin-bottom: $global-guttering/2; + margin-bottom: $global-guttering * 0.5; } .logo__img { @@ -161,7 +161,7 @@ label + p { display: inline-block; max-width: 100%; vertical-align: top; - padding: $global-guttering/4 0; + padding: $global-guttering * 0.25 0; } .visible-ie { diff --git a/src/styles/choices.scss b/src/styles/choices.scss index 3c7298c..1008350 100644 --- a/src/styles/choices.scss +++ b/src/styles/choices.scss @@ -131,7 +131,7 @@ $choices-z-index: 1; position: relative; display: inline-block; margin-top: 0; - margin-right: -$choices-button-offset/2; + margin-right: -$choices-button-offset * 0.5; margin-bottom: 0; margin-left: $choices-button-offset; padding-left: $choices-button-offset * 2;