mirror of
https://github.com/frainfreeze/the-monospace-web-pandoc
synced 2025-12-30 02:59:50 -08:00
consider input type radio too
This commit is contained in:
@@ -311,7 +311,8 @@ input, button, textarea {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
input[type=checkbox] {
|
||||
input[type=checkbox],
|
||||
input[type=radio] {
|
||||
display: inline-grid;
|
||||
place-content: center;
|
||||
vertical-align: top;
|
||||
@@ -319,7 +320,8 @@ input[type=checkbox] {
|
||||
height: var(--line-height);
|
||||
cursor: pointer;
|
||||
}
|
||||
input[type=checkbox]:checked:before {
|
||||
input[type=checkbox]:checked:before,
|
||||
input[type=radio]:checked:before {
|
||||
content: "";
|
||||
width: 1ch;
|
||||
height: calc(var(--line-height) / 2);
|
||||
|
||||
Reference in New Issue
Block a user