mirror of
https://github.com/tabler/tabler.git
synced 2025-12-23 18:34:25 +04:00
flags width fix
This commit is contained in:
@@ -5,8 +5,8 @@ $countries: (
|
|||||||
.flag {
|
.flag {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 1.25rem;
|
width: 1.5rem;
|
||||||
aspect-ratio: 1.333;
|
aspect-ratio: 1.33333;
|
||||||
background: no-repeat center/cover;
|
background: no-repeat center/cover;
|
||||||
box-shadow: $flag-box-shadow;
|
box-shadow: $flag-box-shadow;
|
||||||
border-radius: $flag-border-radius;
|
border-radius: $flag-border-radius;
|
||||||
@@ -26,6 +26,6 @@ $countries: (
|
|||||||
|
|
||||||
@each $flag-size, $size in $flag-sizes {
|
@each $flag-size, $size in $flag-sizes {
|
||||||
.flag-#{$flag-size} {
|
.flag-#{$flag-size} {
|
||||||
height: $size;
|
width: $size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user