feat: add scroll padding for mobile screen (#2249)
This commit is contained in:
parent
c2bea8a4c4
commit
c2dcc63b5f
1 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,10 @@ html {
|
||||||
text-size-adjust: none;
|
text-size-adjust: none;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
|
||||||
|
@media all and ($mobile) {
|
||||||
|
scroll-padding-top: 4rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue