Skip to content
Snippets Groups Projects

ISTWCMS-5898: section-spacing-seperator and column-seperator css

1 file
+ 8
9
Compare changes
  • Side-by-side
  • Inline
@@ -94,6 +94,14 @@
@media(min-width: $screen-xl) {
@include uw-contained-width(var(--layout-max-width));
}
// Set default spacing to match old block spacing if no classes
&:not(.uw-section-spacing--default, .uw-section-spacing--none, .uw-section-spacing--75, .uw-section-spacing--50, .uw-section-spacing--25) {
margin-bottom: var(--section-margin);
padding-bottom: var(--section-margin);
&:last-of-type {
margin-bottom: 0;
}
}
&.card__media {
padding: 0 var(--size-2);
@media(min-width: $screen-xl) {
@@ -788,15 +796,6 @@
}
}
}
// Set default spacing to match old block margin if no classes
.layout.layout--uw-1-col {
&:not(.uw-section-spacing--default, .uw-section-spacing--none, .uw-section-spacing--75, .uw-section-spacing--50, .uw-section-spacing--25) {
margin-bottom: var(--section-margin);
&:last-of-type {
margin-bottom: 0;
}
}
}
.uw-section-has-full-width .layout.layout--uw-1-col {
overflow: hidden;
Loading