Skip to content
Snippets Groups Projects
Commit c3ddec05 authored by Kevin Paxman's avatar Kevin Paxman Committed by Eric Bremner
Browse files

ISTWCMS-6548: don't override top/bottom padding when a sidebar is present,...

ISTWCMS-6548: don't override top/bottom padding when a sidebar is present, because that prevents  section spacing from working
parent e620dcbc
No related branches found
No related tags found
1 merge request!243ISTWCMS-6548: don't override top/bottom padding when a sidebar is present,...
...@@ -342,10 +342,12 @@ ...@@ -342,10 +342,12 @@
&.uw-contained-width { &.uw-contained-width {
@include uw-contained-width; @include uw-contained-width;
margin: inherit; margin: inherit;
padding: var(--size-1); padding-left: var(--size-1);
padding-right: var(--size-1);
@media(min-width: $screen-xxl) { @media(min-width: $screen-xxl) {
padding: var(--size-1) 0; padding-left: 0;
padding-right: 0;
} }
&--narrow { &--narrow {
......
...@@ -73,7 +73,8 @@ $sidebar-width: 18.75rem; ...@@ -73,7 +73,8 @@ $sidebar-width: 18.75rem;
width: 100%; width: 100%;
.layout { .layout {
padding: 0; padding-left: 0;
padding-right: 0;
} }
@media(min-width: $screen-md) { @media(min-width: $screen-md) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment