Fix global horizontal overflow

This commit is contained in:
2020-04-04 18:13:13 +02:00
parent 2170cd2e57
commit 7601fe8b44
3 changed files with 2 additions and 3 deletions

View File

@@ -8,7 +8,6 @@ body {
background: $color-primary; background: $color-primary;
color: #fff; color: #fff;
cursor: default; cursor: default;
overflow-x: hidden;
} }
*, *:before, *:after { *, *:before, *:after {
box-sizing: border-box; box-sizing: border-box;

View File

@@ -1,9 +1,10 @@
// Main page // Main page
.housesof { .housesof {
overflow: hidden;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
right: 0; width: 100%;
transition: opacity 0.4s $ease-quart; transition: opacity 0.4s $ease-quart;
will-change: opacity; will-change: opacity;

View File

@@ -1,5 +1,4 @@
.photos { .photos {
overflow: hidden;
position: relative; position: relative;
margin-top: -22px; margin-top: -22px;
background-color: #fff; background-color: #fff;