ui: fix regression letting user to scroll the main document (#203)

This commit is contained in:
jean-emmanuel 2018-03-06 21:20:10 +01:00
parent 0065dead4b
commit bec9d3fdee
3 changed files with 10 additions and 7 deletions

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html id="launcher">
<head>
<meta name="viewport" content="width=device-width, user-scalable=no"/>
<link rel="preload" href="../../browser/fonts/roboto-medium.woff" as="font"/>
@ -11,7 +11,7 @@
<script src="launcher.js"></script>
</head>
<body id="launcher">
<body>
<div id="loading"><div class="spinner"></div></div>
</body>

View file

@ -183,7 +183,7 @@ $(document).ready(()=>{
})
form.appendTo('#launcher')
form.appendTo('body')
// server started callback

View file

@ -35,7 +35,7 @@ input {
html, body {
height:100%;
position:relative;
overflow:hidden;
}
html{
@ -57,7 +57,6 @@ body {
font-weight: 500;
text-transform: uppercase;
letter-spacing: 1rem;
overflow:hidden;
}
.btn {
@ -216,8 +215,12 @@ body {
#launcher {
background: var(--color-fg);
overflow: auto;
overflow: initial;
body {
background: var(--color-fg);
overflow: auto;
}
.form {
padding:8rem;