0
0
mirror of https://github.com/lipis/flag-icons.git synced 2024-11-22 11:27:29 +01:00

Don't use math in sass (#892)

This commit is contained in:
Lipis 2021-11-25 12:16:12 +02:00 committed by GitHub
parent 299c91aab3
commit 1cfbb01a3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,3 @@
@use 'sass:math';
.flag-icon-background {
background-size: contain;
background-position: 50%;
@ -10,7 +8,7 @@
@extend .flag-icon-background;
position: relative;
display: inline-block;
width: math.div(4, 3) * 1em;
width: 1.333333 * 1em;
line-height: 1em;
&:before {
content: '\00a0';