Hide overflow for root element

This commit is contained in:
LoveEevee 2018-10-14 14:49:23 +03:00
parent 773684c2cb
commit 79108f8770

View File

@ -12,9 +12,10 @@ body{
width: 100%; width: 100%;
height: 100%; height: 100%;
background: #fe7839; background: #fe7839;
position: relative; position: absolute;
user-select: none; user-select: none;
touch-action: none; touch-action: none;
overflow: hidden;
} }
#screen{ #screen{
width: 100%; width: 100%;
@ -233,10 +234,10 @@ kbd{
} }
@keyframes bgscroll{ @keyframes bgscroll{
from{ from{
background-position: 0 center; background-position: 0 top;
} }
to{ to{
background-position: calc(-100vh / 720 * 512) center; background-position: calc(-100vh / 720 * 512) top;
} }
} }
#song-select{ #song-select{
@ -251,9 +252,7 @@ kbd{
} }
#song-sel-canvas{ #song-sel-canvas{
position: absolute; position: absolute;
top: 0;
right: 0; right: 0;
bottom: 0;
left: 0; left: 0;
margin: auto; margin: auto;
} }