From 68def53fb40e0528561110b19e3238209df6ed2f Mon Sep 17 00:00:00 2001 From: Florent Le Saout Date: Fri, 24 Feb 2023 11:49:53 +0100 Subject: [PATCH] =?UTF-8?q?Corrige=20les=20op=C3=A9rations=20d=C3=A9pr?= =?UTF-8?q?=C3=A9ci=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scss/_config.scss | 6 +++--- src/scss/_typography.scss | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scss/_config.scss b/src/scss/_config.scss index cb2f24d..90bbff2 100644 --- a/src/scss/_config.scss +++ b/src/scss/_config.scss @@ -163,9 +163,9 @@ $stalfos-config: ( 'width': ( 'items': ( 'full': '100%', - 'half': percentage(1/2), - 'quarter': percentage(1/4), - 'third': percentage(1/3) + 'half': percentage(0.5), + 'quarter': percentage(0.25), + 'third': percentage(0.33) ), 'output': 'responsive', 'property': 'width' diff --git a/src/scss/_typography.scss b/src/scss/_typography.scss index 9fac5b7..4bccc8e 100644 --- a/src/scss/_typography.scss +++ b/src/scss/_typography.scss @@ -61,7 +61,7 @@ body { @include apply-utility('font', 'base'); // Strip the unit off the size ratio to generate a line height - line-height: $line-height / ($line-height * 0 + 1); + line-height: calc($line-height / 1); } h1,