diff --git a/life.html b/life.html index 72e22296..2d9920f0 100644 --- a/life.html +++ b/life.html @@ -94,6 +94,10 @@ } .settings { margin: 10pt; + overflow-y: auto; + touch-action: pan-y; + -webkit-overflow-scrolling: touch; + max-height: 100%; } * { font-family: belerenbsc; @@ -106,20 +110,19 @@ -moz-user-select: none; -ms-user-select: none; } - html { + html, body { + position: fixed; + top: 0px; + left: 0px; + width: 100%; height: 100%; overflow: hidden; } body { - height: 100%; background-color: #333; color: white; - overflow-y: scroll; - overflow-x: hidden; - -webkit-overflow-scrolling: touch; - touch-action: pan-y; } - #gridShell, .mainGrid, canvas { + body, #gridShell, .mainGrid, canvas { touch-action: manipulation !important; } .mainGrid {