Commit d0ad4a07 authored by Martin Leblanc's avatar Martin Leblanc Committed by Martin Leblanc
Browse files

ISTWCMS-5293: replacing the fullwidth-margin mixin code in layout builder with...

ISTWCMS-5293: replacing the fullwidth-margin mixin code in layout builder with the base fullwidth mixin
parent 8a08b0f8
......@@ -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;
}
......@@ -25,7 +23,7 @@ $grid-gap: rem(gesso-spacing(lg));
}
&.uw-full-width {
@include uw-full-width-padding;
@include uw-full-width;
overflow:hidden;
.uw-section-has-full-width.uw-node__with-sidebar &{
padding: 0 gesso-spacing(sm) !important;
......@@ -38,7 +36,12 @@ $grid-gap: rem(gesso-spacing(lg));
.block-inline-blockuw-cbl-image,
.block-inline-blockuw-cbl-remote-video,
.block-inline-blockuw-cbl-image-gallery{
@include uw-full-width-margin;
@include uw-full-width;
.layout-builder &{
@include uw-full-width-reset;
margin-left:0;
margin-right:0;
}
h2{
margin-left:1rem;
}
......@@ -47,8 +50,15 @@ $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