mirror of
https://github.com/primer/css.git
synced 2024-11-30 19:53:11 +03:00
feat(utilities): add overflow: visible utilities
This commit is contained in:
parent
0a14c1c1c0
commit
371794e253
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user