forked from tabler/tabler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_sizing.scss
33 lines (24 loc) · 1007 Bytes
/
_sizing.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// stylelint-disable declaration-no-important
.max-h-full { max-height: 100% !important; }
.max-h-screen { max-height: 100vh !important; }
.max-w-full { max-width: 100% !important; }
.max-w-screen { max-width: 100vw !important; }
.min-h-0 { min-height: 0 !important; }
.min-h-full { min-height: 100% !important; }
.min-h-screen { min-height: 100vh !important; }
.min-w-0 { min-width: 0 !important; }
.min-w-full { min-width: 100% !important; }
@each $size-name, $size in $sizes-percentage {
.w-#{$size-name}p { width: $size !important; }
.h-#{$size-name}p { height: $size !important; }
}
@each $size-name, $size in map_merge($spacers, $size-spacers) {
.w-#{$size-name} { width: $size !important; }
.h-#{$size-name} { height: $size !important; }
}
.h-screen { height: 100vh !important; }
.w-screen { width: 100vw !important; }
@each $size-name, $size in $size-max-spacers {
.max-w-#{$size-name} { max-width: $size !important; }
.max-h-#{$size-name} { max-height: $size !important; }
}