prevent scroll on mobile

This commit is contained in:
Ruben van de Ven 2022-01-19 13:11:57 +01:00
parent 24f9876274
commit e831066297
1 changed files with 6 additions and 2 deletions

View File

@ -59,13 +59,17 @@
width: 100%; width: 100%;
margin: 0; margin: 0;
font-family: sans-serif; font-family: sans-serif;
position: fixed;
overscroll-behavior: contain;
overflow-y: hidden;
} }
#interface { #interface {
height: 0; height: 0;
overflow: hidden; overflow: hidden;
padding-top: calc( { /* padding-top: calc( {
HEIGHT HEIGHT
} }
@ -73,7 +77,7 @@
WIDTH WIDTH
} }
* 100%); * 100%); */
position: relative; position: relative;
margin: 0 auto; margin: 0 auto;
background-size: 100% 100%; background-size: 100% 100%;