fix style issues

This commit is contained in:
Arthur Lu 2024-09-27 20:42:41 +00:00
parent 39822819cc
commit f09ca0507e
2 changed files with 23 additions and 12 deletions

View File

@ -8,19 +8,22 @@
.input-grid * {
margin-top: 0;
margin-bottom: 0;
padding-top: 8px;
padding-bottom: 8px;
}
.input-grid input {
padding: 8px;
}
.input-grid svg {
padding: 0;
}
.input-grid .last-item {
text-align: right;
}
/* sibling of input-grid that is not inside another input grid */
:not(.input-grid) .input-grid + * {
display: inline-block;
width: 100%;
margin-top: 5px;
}
legend {
float: left;
width: 100%;
@ -57,10 +60,17 @@ input[type="radio"] {
position: inherit;
}
div[draggable="true"] {
cursor: grab;
}
.w3-select, select {
padding: 8px;
}
.w3-check {
top: 0;
}
/* sibling of input-grid that is not inside another input grid */
:not(.input-grid) .input-grid + * {
display: inline-block;
width: 100%;
margin-top: 5px;
}

View File

@ -47,9 +47,10 @@
html {
box-sizing: border-box;
background-color: var(--main-bg-color);
}
h1, h2, h3, h4, h5, h6, p, a, label, button, input, select, td {
* {
font-family: monospace;
}