SpacingSizesControl: Differenciate between default and zero #69082
Labels
[Feature] Layout
Layout block support, its UI controls, and style output.
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
Right now it is not clear from the controls if the smallest value (most times "0") is set or no value at all. I often encounter this confusing scenario when working with the block editor in an existing theme when I want to unset theme spacings by explicitly selecting the 0 value in the SpacingSizesControl.
I feel this issue relates to #43082. However, since we could improve the UX for this singular Control-Element only, I think we could keep this as a separate issue.
No spacings set
Spacings set to zero
(I took the effort to take a new screenshot, which is, in fact, pointless, as it looks identical to the default state, which is the point of this issue…)
What is your proposed solution?
We should try to find an easy, accessible design solution that immediately improves the editing experience. I am not too familiar with the Block Editor design guidelines, so these are just some examples I just came up with.
The text was updated successfully, but these errors were encountered: