fix(revert): html & body overflow

This commit is contained in:
Sonny
2023-11-08 17:09:09 +01:00
parent a7b803eda0
commit 472a6bb325

View File

@@ -1,12 +1,11 @@
@import "keyframes.scss";
@import "colors.scss";
*:not(html) {
* {
box-sizing: border-box;
outline: 0;
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
}
html,
@@ -14,24 +13,13 @@ body {
height: 100dvh;
width: 100dvw;
color: $black;
font-family: "Poppins", sans-serif;
background-color: $light-grey;
}
html {
font-family: "Poppins", sans-serif;
padding: 0;
margin: 0;
overflow: hidden;
}
body {
overflow: auto;
scrollbar-gutter: stable both-edges;
&.lock-scroll {
scrollbar-gutter: unset;
overflow: hidden;
}
}
#__next {
height: 100%;
width: 100%;