Skip to content
Snippets Groups Projects
Commit 3d72cd17 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'feature/ISTWCMS-5903-kpaxman-fix_full_width_to_edge' into '1.1.x'

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

See merge request !218
parents 175e9db7 42504a45
No related branches found
No related tags found
1 merge request!218ISTWCMS-5903: change full browser width method since vw units don't account for the scrollbar
...@@ -39,14 +39,9 @@ $test-color-12: var(--green-5); ...@@ -39,14 +39,9 @@ $test-color-12: var(--green-5);
@mixin uw-full-width-margin { @mixin uw-full-width-margin {
:not(.uw-exp-col) & { :not(.uw-exp-col) & {
left: 50%; margin-left: calc(-1 * var(--size-2));
margin-left: -50vw; margin-right: calc(-1 * var(--size-2));
margin-right: -50vw; max-width: calc(2 * var(--size-2) + 100%);
max-width: 100vw;
padding: 0;
position: relative;
right: 50%;
width: 100vw;
} }
.uw-exp-col & { .uw-exp-col & {
@include uw-full-width-reset; @include uw-full-width-reset;
......
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