discourse/app/assets/stylesheets/common/form-kit/_control-checkbox.scss
Joffrey JAFFEUX 4ba1e49782
UI: minor form-kit tweaks (#38477)
- dont show checkbox description container when empty
- better spacing between sections
- ensures edit-category-type-schema-fields is not messing up with gap
2026-03-11 00:35:29 +01:00

36 lines
624 B
SCSS
Vendored

.form-kit {
&__control-checkbox {
&[type="checkbox"] {
margin: 0.17em;
margin-right: 0;
margin-left: 0;
}
&-label {
display: flex;
gap: 0.5em;
margin: 0;
font-weight: normal !important;
color: var(--primary);
font-size: var(--font-down-1-rem);
.form-kit__field[data-disabled] & {
cursor: not-allowed;
}
}
}
&__control-checkbox-content {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
&__control-checkbox-description {
color: var(--primary-medium);
&:empty {
display: none;
}
}
}