fix(ui): checkboxes sit in front of their text instead of stretched above it (1.89.48)

This commit is contained in:
larssand committed 2026-11-16 22:19:48 +01:00
1 parent 047490d00b
commit f2adc67695
4 files changed
+34 -3

No files matched your search

+27
View File
@@ -2382,6 +2382,33 @@ select:focus {
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 18%, transparent);
}
/* Checkboxes and radios keep their own size and sit in front of their text. The field rule
above (width: 100%) stretched them across the cell, and .form-grid > label (a grid) stacked
them above the text, so a box often looked like it belonged to the next field. */
input[type="checkbox"],
input[type="radio"] {
width: 18px;
height: 18px;
min-width: 18px;
flex: 0 0 auto;
margin: 0;
padding: 0;
accent-color: var(--accent-2);
}
label.toggle,
.form-grid > label.toggle {
display: inline-flex;
align-items: center;
gap: 10px;
cursor: pointer;
}
.form-grid > label.toggle {
display: flex;
align-self: center;
}
.log-box {
margin: 10px 0 0;
min-height: 120px;