Commit 41751d9f authored by Martin Leblanc's avatar Martin Leblanc
Browse files

Merge branch 'feature/ISTWCMS-5293-remove-fullwidth-margin-mixin-from-layout-builder' into '3.0.x'

ISTWCMS-5293: remove the layout builder use of fullwidth-margin mixin

See merge request !142
parents 8a08b0f8 c0245d19
......@@ -6,9 +6,7 @@ $grid-gap: rem(gesso-spacing(lg));
grid-gap:$grid-gap;
&.uw-contained-width {
@include uw-contained-width;
//background: $test-color-6;
padding: rem(gesso-spacing(sm));
@include xxl {
padding: rem(gesso-spacing(sm)) 0;
}
......@@ -27,18 +25,32 @@ $grid-gap: rem(gesso-spacing(lg));
&.uw-full-width {
@include uw-full-width-padding;
overflow:hidden;
.uw-caption{
> p{ padding-left:1rem;}
}
.uw-section-has-full-width.uw-node__with-sidebar &{
padding: 0 gesso-spacing(sm) !important;
}
.dashboards-container &{
@include uw-full-width;
}
.layout-builder &{
padding:1rem;
}
.layout-builder__region {
padding:1rem;
}
&.layout--uw-1-col{
.block-inline-blockuw-cbl-banner-images,
.block-inline-blockuw-cbl-image,
.block-inline-blockuw-cbl-remote-video,
.block-inline-blockuw-cbl-image-gallery{
@include uw-full-width-margin;
.layout-builder &{
@include uw-full-width-reset;
margin-left:0;
margin-right:0;
}
h2{
margin-left:1rem;
}
......@@ -47,8 +59,16 @@ $grid-gap: rem(gesso-spacing(lg));
}
}
.block-inline-blockuw-cbl-google-maps{
@include uw-contained-width;
@include medium{
@include uw-full-width-margin;
}
.layout-builder &{
@include uw-full-width-reset;
margin-left:0;
margin-right:0;
}
.uw-section-has-full-width.uw-node__with-sidebar &{
@include uw-full-width-reset;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment