mirror of
https://github.com/primer/css.git
synced 2024-11-30 19:53:11 +03:00
Merge pull request #695 from primer/fix-marketing-utilities
Fix: restore missing marketing padding utilities
This commit is contained in:
commit
472b2c5cd4
@ -6,9 +6,19 @@
|
||||
@include breakpoint($breakpoint) {
|
||||
@each $scale, $size in $marketing-spacers {
|
||||
|
||||
.pt#{$variant}-#{$scale} { padding-top: #{$size} !important; }
|
||||
.pb#{$variant}-#{$scale} { padding-bottom: #{$size} !important; }
|
||||
/* Set a #{$size} padding for all sides */
|
||||
.p#{$variant}-#{$scale} { padding: #{$size} !important; }
|
||||
|
||||
/* Set a #{$size} padding to the top */
|
||||
.pt#{$variant}-#{$scale} { padding-top: #{$size} !important; }
|
||||
/* Set a #{$size} padding to the right */
|
||||
.pr#{$variant}-#{$scale} { padding-right: #{$size} !important; }
|
||||
/* Set a #{$size} padding to the bottom */
|
||||
.pb#{$variant}-#{$scale} { padding-bottom: #{$size} !important; }
|
||||
/* Set a #{$size} padding to the left */
|
||||
.pl#{$variant}-#{$scale} { padding-left: #{$size} !important; }
|
||||
|
||||
/* Set a #{$size} padding to the top & bottom */
|
||||
.py#{$variant}-#{$scale} {
|
||||
padding-top: #{$size} !important;
|
||||
padding-bottom: #{$size} !important;
|
||||
|
Loading…
Reference in New Issue
Block a user