fix scroll position
This commit is contained in:
@@ -37,8 +37,7 @@
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
overflow: hidden;
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -46,9 +45,15 @@ body {
|
||||
font-family: Roboto, "Helvetica Neue", sans-serif;
|
||||
font-size: 14px;
|
||||
color: var(--text);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: '';
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: linear-gradient(39deg, var(--bg-deep), var(--bg-mid), var(--bg-soft));
|
||||
overflow: auto;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
p {
|
||||
@@ -103,10 +108,6 @@ body .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {
|
||||
}
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Roboto, "Helvetica Neue", sans-serif;
|
||||
|
||||
Reference in New Issue
Block a user