Vertically center compact switches

This commit is contained in:
Joyce Chen
2020-08-11 02:21:03 -04:00
parent 7dcff4a52e
commit 8904ec13a2
3 changed files with 3 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
</span>
</div>
<div style="flex: 1; text-align: center;">
<div style="flex: 1; text-align: center; margin-top: auto; margin-bottom: auto;">
<label class="switch">
<input type="checkbox" id="originalCompact" onClick="toggleOriginalCompact(false)">
<span class="slider round">