Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WCMS
uw_wcms_gesso
Commits
3f6013e3
Commit
3f6013e3
authored
Dec 22, 2021
by
Martin Leblanc
Committed by
Martin Leblanc
Dec 23, 2021
Browse files
ISTWCMS-5261: css to remove overflow of full width edge to edge content
parent
ac2e7f2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
source/_patterns/03-layouts/layout/_layout.scss
source/_patterns/03-layouts/layout/_layout.scss
+5
-3
source/_patterns/04-components/view/_view.scss
source/_patterns/04-components/view/_view.scss
+2
-2
No files found.
source/_patterns/03-layouts/layout/_layout.scss
View file @
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
}
source/_patterns/04-components/view/_view.scss
View file @
3f6013e3
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment