feat: add scroll padding for mobile screen (#2249)
This commit is contained in:
committed by
GitHub
parent
c2bea8a4c4
commit
c2dcc63b5f
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user