1
1
mirror of https://github.com/primer/css.git synced 2024-12-01 04:21:12 +03:00

feat(utilities): add overflow: visible utilities

This commit is contained in:
Shawn Allen 2019-05-14 16:04:48 -07:00
parent 0a14c1c1c0
commit 371794e253

View File

@ -36,17 +36,11 @@
.v-align-baseline { vertical-align: baseline !important; }
// Overflow utilities
.overflow-hidden { overflow: hidden !important; }
.overflow-x-hidden { overflow-x: hidden !important; }
.overflow-y-hidden { overflow-y: hidden !important; }
.overflow-auto { overflow: auto !important; }
.overflow-x-auto { overflow-x: auto !important; }
.overflow-y-auto { overflow-y: auto !important; }
.overflow-scroll { overflow: scroll !important; }
.overflow-x-scroll { overflow-x: scroll !important; }
.overflow-y-scroll { overflow-y: scroll !important; }
@each $overflow in (visible, hidden, auto, scroll) {
.overflow-#{$overflow} { overflow: $overflow !important; }
.overflow-x-#{$overflow} { overflow-x: $overflow !important; }
.overflow-y-#{$overflow} { overflow-y: $overflow !important; }
}
// Clear floats
/* Clear floats around the element */