mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 15:35:35 +00:00
fix(revert): html & body overflow
This commit is contained in:
@@ -1,12 +1,11 @@
|
|||||||
@import "keyframes.scss";
|
@import "keyframes.scss";
|
||||||
@import "colors.scss";
|
@import "colors.scss";
|
||||||
|
|
||||||
*:not(html) {
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
box-sizing: border-box;
|
|
||||||
scroll-behavior: smooth;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html,
|
html,
|
||||||
@@ -14,24 +13,13 @@ body {
|
|||||||
height: 100dvh;
|
height: 100dvh;
|
||||||
width: 100dvw;
|
width: 100dvw;
|
||||||
color: $black;
|
color: $black;
|
||||||
font-family: "Poppins", sans-serif;
|
|
||||||
background-color: $light-grey;
|
background-color: $light-grey;
|
||||||
}
|
font-family: "Poppins", sans-serif;
|
||||||
|
padding: 0;
|
||||||
html {
|
margin: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
|
||||||
overflow: auto;
|
|
||||||
scrollbar-gutter: stable both-edges;
|
|
||||||
|
|
||||||
&.lock-scroll {
|
|
||||||
scrollbar-gutter: unset;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#__next {
|
#__next {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user