Fixed settings layout on mobile
This commit is contained in:
parent
4290d4850d
commit
07ef866de1
1 changed files with 15 additions and 4 deletions
19
index.html
19
index.html
|
@ -44,9 +44,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#settings {
|
#settings {
|
||||||
width: 500px;
|
max-width: 500px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
height: 60vh;
|
height: 60vh;
|
||||||
|
padding: 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#settings-notice {
|
#settings-notice {
|
||||||
|
@ -63,6 +64,11 @@
|
||||||
.hide {
|
.hide {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.settings-table td {
|
||||||
|
vertical-align: top;
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -79,9 +85,14 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="settings">
|
<div id="settings">
|
||||||
<h1>Settings</h1>
|
<h1>Settings</h1>
|
||||||
<input type="checkbox" id="notifications" name="notifications" value="notifications" /><label
|
<table class="settings-table">
|
||||||
for="notifications">Enable wake up
|
<tr>
|
||||||
notifications</label>
|
<td><input type="checkbox" id="notifications" name="notifications" value="notifications" /></td>
|
||||||
|
<td><label for="notifications">Enable wake up
|
||||||
|
notifications</label></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in a new issue