Commit 79108f87 authored by LoveEevee's avatar LoveEevee

Hide overflow for root element

parent 773684c2
...@@ -12,9 +12,10 @@ body{ ...@@ -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{ ...@@ -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{ ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment