forked from github/quartz
feat: add scroll padding for mobile screen (#2249)
This commit is contained in:
1 parent
c2bea8a4c4
commit
c2dcc63b5f
1 file changed
+4
@@ -9,6 +9,10 @@ html {
|
||||
text-size-adjust: none;
|
||||
overflow-x: hidden;
|
||||
width: 100vw;
|
||||
|
||||
@media all and ($mobile) {
|
||||
scroll-padding-top: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
Reference in new issue
Block a user