From da545a29bc2fcaa53828f5d5233496c404ed05d1 Mon Sep 17 00:00:00 2001 From: Rafael M Date: Wed, 26 May 2021 16:39:43 +0100 Subject: [PATCH] fix sass division deprecation --- scss/_larger.scss | 4 ++-- scss/_list.scss | 2 +- scss/_variables.scss | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scss/_larger.scss b/scss/_larger.scss index 27c2ad5fc..745b7d59f 100644 --- a/scss/_larger.scss +++ b/scss/_larger.scss @@ -3,8 +3,8 @@ // makes the font 33% larger relative to the icon container .#{$fa-css-prefix}-lg { - font-size: (4em / 3); - line-height: (3em / 4); + font-size: math.div(4em, 3); + line-height: math.div(3em, 4); vertical-align: -.0667em; } diff --git a/scss/_list.scss b/scss/_list.scss index 8ebf33333..75f1a24c4 100644 --- a/scss/_list.scss +++ b/scss/_list.scss @@ -3,7 +3,7 @@ .#{$fa-css-prefix}-ul { list-style-type: none; - margin-left: $fa-li-width * 5/4; + margin-left: $fa-li-width * math.div(5, 4); padding-left: 0; > li { position: relative; } diff --git a/scss/_variables.scss b/scss/_variables.scss index 68a0750dd..e014424f0 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -9,7 +9,7 @@ $fa-version: "5.15.3" !default; $fa-border-color: #eee !default; $fa-inverse: #fff !default; $fa-li-width: 2em !default; -$fa-fw-width: (20em / 16); +$fa-fw-width: math.div(20em, 16); $fa-primary-opacity: 1 !default; $fa-secondary-opacity: .4 !default;