mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-03-31 05:45:54 +08:00
Fix breaking change slash as division in Dart Sass 2.0.0
Updated dur to deprecation warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0 Signed-off-by: mikejackson <mike@freightlink.co.uk>
This commit is contained in:
parent
afecf2af5d
commit
a14c00a2a1
@ -1,10 +1,12 @@
|
||||
@use "sass:math";
|
||||
|
||||
// Icon Sizes
|
||||
// -------------------------
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,11 @@
|
||||
@use "sass:math";
|
||||
|
||||
// List Icons
|
||||
// -------------------------
|
||||
|
||||
.#{$fa-css-prefix}-ul {
|
||||
list-style-type: none;
|
||||
margin-left: $fa-li-width * 5/4;
|
||||
margin-left: math.div($fa-li-width * 5, 4);
|
||||
padding-left: 0;
|
||||
|
||||
> li { position: relative; }
|
||||
|
@ -1,3 +1,5 @@
|
||||
@use "sass:math";
|
||||
|
||||
// Variables
|
||||
// --------------------------
|
||||
|
||||
@ -9,7 +11,7 @@ $fa-version: "5.15.4" !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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user