diff --git a/src/sass/_layout.scss b/src/sass/_layout.scss index d264788..9a00d41 100644 --- a/src/sass/_layout.scss +++ b/src/sass/_layout.scss @@ -226,6 +226,7 @@ body { min-height: calc(100% - 60px); margin: -7px auto; > .page { + position:absolute; &:not(.servicepage) { margin-top:60px; } @@ -242,6 +243,7 @@ body { &.anim-fade .page { &.animate { transition: opacity 0.5s ease-out; + position: absolute; } &.leave { margin-right: -100%; @@ -259,6 +261,7 @@ body { &.anim-pos .page { &.animate { transition: transform 0.5s ease-out; + position: absolute; } &.leave { transform:translate(-100%,0) @@ -276,6 +279,7 @@ body { &.anim-neg .page { &.animate { transition: transform 0.5s ease-out; + position: absolute; } &.leave { transform:translate(100%,0)