Fixed settings layout on mobile

This commit is contained in:
Maximilian Giller 2023-02-25 04:55:38 +01:00
parent 4290d4850d
commit 07ef866de1

View file

@ -44,9 +44,10 @@
}
#settings {
width: 500px;
max-width: 500px;
margin: 0 auto;
height: 60vh;
padding: 0 20px;
}
#settings-notice {
@ -63,6 +64,11 @@
.hide {
opacity: 0;
}
.settings-table td {
vertical-align: top;
border-style: none;
}
</style>
</head>
@ -79,9 +85,14 @@
</div>
<div id="settings">
<h1>Settings</h1>
<input type="checkbox" id="notifications" name="notifications" value="notifications" /><label
for="notifications">Enable wake up
notifications</label>
<table class="settings-table">
<tr>
<td><input type="checkbox" id="notifications" name="notifications" value="notifications" /></td>
<td><label for="notifications">Enable wake up
notifications</label></td>
</tr>
</table>
</div>
<script>