Skip to content
Snippets Groups Projects

ISTWCMS-5903: change full browser width method since vw units don't account for the scrollbar

Merged Kevin Paxman requested to merge feature/ISTWCMS-5903-kpaxman-fix_full_width_to_edge into 1.1.x
@@ -39,14 +39,9 @@ $test-color-12: var(--green-5);
@mixin uw-full-width-margin {
:not(.uw-exp-col) & {
left: 50%;
margin-left: -50vw;
margin-right: -50vw;
max-width: 100vw;
padding: 0;
position: relative;
right: 50%;
width: 100vw;
margin-left: calc(-1 * var(--size-2));
margin-right: calc(-1 * var(--size-2));
max-width: calc(2 * var(--size-2) + 100%);
}
.uw-exp-col & {
@include uw-full-width-reset;
Loading