1
1
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:
broccolini 2017-06-12 16:30:37 -04:00
parent b218499443
commit 75142f4edd

View File

@ -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;
}
}