Skip to content

Commit

Permalink
fix: add important utils for overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Juveniel authored and joneff committed Feb 2, 2022
1 parent df4c6f4 commit 2a1101a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions packages/default/scss/utils/_overflow.scss
Expand Up @@ -46,16 +46,22 @@
// sass-lint:disable no-important
@if $utils-overflow {
@each $overflow in $utils-overflow {
.k-overflow-#{$overflow} { overflow: $overflow !important; }
.k-overflow-x-#{$overflow} { overflow-x: $overflow !important; }
.k-overflow-y-#{$overflow} { overflow-y: $overflow !important; }
.k-overflow-#{$overflow} { overflow: $overflow; }
.k-overflow-x-#{$overflow} { overflow-x: $overflow; }
.k-overflow-y-#{$overflow} { overflow-y: $overflow; }

.\!k-overflow-#{$overflow} { overflow: $overflow !important; }
.\!k-overflow-x-#{$overflow} { overflow-x: $overflow !important; }
.\!k-overflow-y-#{$overflow} { overflow-y: $overflow !important; }
}


@each $overflow-x in $utils-overflow {
@each $overflow-y in $utils-overflow {
@if $overflow-x != $overflow-y {
.k-overflow-#{$overflow-x}-#{$overflow-y} { overflow: $overflow-x $overflow-y !important; }
.k-overflow-#{$overflow-x}-#{$overflow-y} { overflow: $overflow-x $overflow-y; }

.\!k-overflow-#{$overflow-x}-#{$overflow-y} { overflow: $overflow-x $overflow-y !important; }
}
}
}
Expand Down

0 comments on commit 2a1101a

Please sign in to comment.