Commit e5cdb83f authored by Martin Leblanc's avatar Martin Leblanc
Browse files

Merge branch 'feature/ISTWCMS-5261-m26lebla-prevent-full-width-causing-a-scroll-bar' into '3.0.x'

ISTWCMS-5261: - prevent-full-width-causing-a-scroll-bar

See merge request !137
parents ac2e7f2f 3f6013e3
......@@ -25,17 +25,19 @@ $grid-gap: rem(gesso-spacing(lg));
}
&.uw-full-width {
@include uw-full-width-padding;
overflow:hidden;
.uw-section-has-full-width.uw-node__with-sidebar &{
padding: 0 gesso-spacing(sm) !important;
}
@include uw-full-width-padding;
.dashboards-container &{
@include uw-full-width;
}
&.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-remote-video,
.block-inline-blockuw-cbl-image-gallery{
@include uw-full-width-margin;
h2{
margin-left:1rem;
......@@ -85,4 +87,4 @@ $grid-gap: rem(gesso-spacing(lg));
}
}
}
.uw-section-has-full-width.uw-node__with-sidebar .layout.layout--uw-1-col{overflow:hidden}
.uw-section-has-full-width .layout.layout--uw-1-col{overflow:hidden}
......@@ -24,8 +24,7 @@ $sidebar-width: 18.75rem;
}
}
}
display: grid;
grid-template-columns: 100%;
display: block;
padding:0;
position: relative;
&.view-uw-view-contacts{
......@@ -82,6 +81,7 @@ $sidebar-width: 18.75rem;
&.with-filters {
@include large {
display: grid;
gap:$grid-gap;
grid-template-columns: auto $sidebar-width;
}
......
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