Files
Lauri Ojansivu 63238a687a Align the date-format status label beside its checkbox
Remove inherited form-field minimum height, padding and margins from the native checkbox and center its flex row. Verify checkbox dimensions and label alignment in both Disabled and Enabled states.

Thanks to xet7.
2026-09-23 15:27:40 +03:00

21 lines
442 B
CSS

/* This popup uses labelled native checkboxes, not hidden material inputs. */
.js-date-format-form input[type="checkbox"] {
display: inline-block;
visibility: visible;
position: static;
inset-inline-start: auto;
width: 16px;
height: 16px;
min-height: 0;
flex: 0 0 16px;
padding: 0;
margin: 0;
margin-inline-end: 6px;
appearance: auto;
cursor: pointer;
}
.js-date-format-form > label.flex {
align-items: center;
}