Skip to content

Commit

Permalink
Add padding and margin utility classes without important
Browse files Browse the repository at this point in the history
  • Loading branch information
admilne committed Nov 20, 2024
1 parent 427c501 commit d188add
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scss/utilities/_margin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,9 @@ $margins: (
@include bp-suffix(ons-u-#{$abbr}-#{$key}, $create-between-breakpoints: true) {
#{$dec}: #{$value} !important;
}

@include bp-suffix(ons-u-#{$abbr}-#{$key}-not-important, $create-between-breakpoints: true) {
#{$dec}: #{$value};
}
}
}
4 changes: 4 additions & 0 deletions src/scss/utilities/_padding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,9 @@ $padding: (
@include bp-suffix(ons-u-#{$abbr}-#{$key}, $create-between-breakpoints: true) {
#{$dec}: #{$value} !important;
}

@include bp-suffix(ons-u-#{$abbr}-#{$key}-not-important, $create-between-breakpoints: true) {
#{$dec}: #{$value};
}
}
}

0 comments on commit d188add

Please sign in to comment.