Skip to content
Snippets Groups Projects
Commit 1c04d09c authored by Kevin Paxman's avatar Kevin Paxman
Browse files

ISTWCMS-5905: put padding back when there's a section separator

parent 9e0e44c1
No related branches found
No related tags found
1 merge request!62Feature/istwcms 5905 ebremner section background options
......@@ -13,10 +13,15 @@
padding-top: 0;
}
/* Only apply bottom padding to the last section when there's a background. */
.card__content section.layout:last-child:not(.uw-section__background-color,.uw-section__background-image) {
/* Only apply bottom padding to the last section when there's a background or a separator. */
.card__content section.layout:last-child:not(.uw-section__background-color,.uw-section__background-image,.uw-section-separator--bottom,.uw-section-separator--narrow) {
padding-bottom: 0;
}
@media(min-width: $screen-md) {
.card__content section.layout:last-child.uw-section-separator--narrow {
padding-bottom: unset;
}
}
.uw-section-spacing {
&--75 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment