💄 Fix alignment of horizontal radio-controls

This commit is contained in:
Philipp Stracker 2025-01-27 18:52:19 +01:00
parent 9d3080a259
commit dd454d4d12
No known key found for this signature in database

View file

@ -6,8 +6,19 @@
text-overflow: ellipsis;
}
// Fix layout for checkboxes inside a flex-stack.
// Fix the checkbox layout (add gap between checkbox and label).
.components-checkbox-control > .components-base-control__field > .components-flex {
flex-direction: row;
gap: 12px;
}
// Fix layout for radio groups inside a horizontal flex-stack.
.components-flex.components-h-stack > .components-radio-control {
width: 100%;
.components-radio-control__group-wrapper {
justify-content: flex-start;
flex-direction: row;
gap: 12px;
}
}