mirror of
https://github.com/joyce-chen/persona5-negotiation.git
synced 2025-11-18 08:03:37 -05:00
Vertically center compact switches
This commit is contained in:
@@ -192,6 +192,7 @@ table {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 34px;
|
height: 34px;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
.switch input {
|
.switch input {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|||||||
2
index.md
2
index.md
@@ -9,7 +9,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="flex: 1; text-align: center;">
|
<div style="flex: 1; text-align: center; margin-top: auto; margin-bottom: auto;">
|
||||||
<label class="switch">
|
<label class="switch">
|
||||||
<input type="checkbox" id="originalCompact" onClick="toggleOriginalCompact(false)">
|
<input type="checkbox" id="originalCompact" onClick="toggleOriginalCompact(false)">
|
||||||
<span class="slider round">
|
<span class="slider round">
|
||||||
|
|||||||
2
royal.md
2
royal.md
@@ -9,7 +9,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="flex: 1; text-align: center;">
|
<div style="flex: 1; text-align: center; margin-top: auto; margin-bottom: auto;">
|
||||||
<label class="switch">
|
<label class="switch">
|
||||||
<input type="checkbox" id="royalCompact" onClick="toggleRoyalCompact(false)">
|
<input type="checkbox" id="royalCompact" onClick="toggleRoyalCompact(false)">
|
||||||
<span class="slider round">
|
<span class="slider round">
|
||||||
|
|||||||
Reference in New Issue
Block a user