File tree 3 files changed +7
-30
lines changed 3 files changed +7
-30
lines changed Original file line number Diff line number Diff line change 5
5
@import " ./filters.scss" ;
6
6
@import " ./layout.scss" ;
7
7
@import " ./margin.scss" ;
8
- @import " ./padding.scss" ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
@each $breakpoint , $variant in $responsive-variants {
6
6
@include breakpoint ($breakpoint ) {
7
7
// Loop through the spacer values
8
- @each $scale , $size in $spacer-map {
8
+ @each $scale , $size in $spacer-map-extended {
9
9
/* Set a $size padding to all sides at $breakpoint */
10
10
.p#{$variant } -#{$scale } { padding : $size !important ; }
11
11
/* Set a $size padding to the top at $breakpoint */
17
17
/* Set a $size padding to the left at $breakpoint */
18
18
.pl#{$variant } -#{$scale } { padding-left : $size !important ; }
19
19
20
- /* Set a $size padding to the left & right at $breakpoint */
21
- .px#{$variant } -#{$scale } {
22
- padding-right : $size !important ;
23
- padding-left : $size !important ;
20
+ @if ($scale < length ($spacer-map )) {
21
+ /* Set a $size padding to the left & right at $breakpoint */
22
+ .px#{$variant } -#{$scale } {
23
+ padding-right : $size !important ;
24
+ padding-left : $size !important ;
25
+ }
24
26
}
25
27
26
28
/* Set a $size padding to the top & bottom at $breakpoint */
You can’t perform that action at this time.
0 commit comments