fix: #185 input and select align center

This commit is contained in:
Yifei Zhang 2023-03-30 15:25:38 +00:00
parent dea3d26335
commit 7827b40f17

View File

@ -87,7 +87,7 @@ body {
align-items: center; align-items: center;
user-select: none; user-select: none;
font-family: "Noto Sans SC", "SF Pro SC", "SF Pro Text", "SF Pro Icons", font-family: "Noto Sans SC", "SF Pro SC", "SF Pro Text", "SF Pro Icons",
"PingFang SC", "Helvetica Neue", "Helvetica", "Arial", sans-serif; "PingFang SC", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
@media only screen and (max-width: 600px) { @media only screen and (max-width: 600px) {
background-color: var(--second); background-color: var(--second);
@ -119,6 +119,11 @@ select {
cursor: pointer; cursor: pointer;
background-color: var(--white); background-color: var(--white);
color: var(--black); color: var(--black);
text-align: center;
}
input {
text-align: center;
} }
input[type="checkbox"] { input[type="checkbox"] {