Corrige les opérations dépréciées

This commit is contained in:
Florent Le Saout 2023-02-24 11:49:53 +01:00
parent a637ef49fb
commit 68def53fb4
2 changed files with 4 additions and 4 deletions

View File

@ -163,9 +163,9 @@ $stalfos-config: (
'width': ( 'width': (
'items': ( 'items': (
'full': '100%', 'full': '100%',
'half': percentage(1/2), 'half': percentage(0.5),
'quarter': percentage(1/4), 'quarter': percentage(0.25),
'third': percentage(1/3) 'third': percentage(0.33)
), ),
'output': 'responsive', 'output': 'responsive',
'property': 'width' 'property': 'width'

View File

@ -61,7 +61,7 @@ body {
@include apply-utility('font', 'base'); @include apply-utility('font', 'base');
// Strip the unit off the size ratio to generate a line height // 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, h1,