mirror of
https://github.com/primer/css.git
synced 2024-11-28 22:01:43 +03:00
add responsive container padding utility
This commit is contained in:
parent
b218499443
commit
75142f4edd
@ -65,3 +65,19 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// responsive padding for containers
|
||||
.p-responsive {
|
||||
padding-right: $spacer-3 !important;
|
||||
padding-left: $spacer-3 !important;
|
||||
|
||||
@include breakpoint(sm) {
|
||||
padding-right: $spacer-6 !important;
|
||||
padding-left: $spacer-6 !important;
|
||||
}
|
||||
|
||||
@include breakpoint(lg) {
|
||||
padding-right: $spacer-3 !important;
|
||||
padding-left: $spacer-3 !important;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user