neve
neve copied to clipboard
Directional controls linking
Description:
Right now the two linking states we have are only unlinked and all values linked together. I think we should be adding another state that links values 2-by-2.
It doesn't make much sense to change all padding values (top, bottom, left, right) together, but it would be more beneficial to be able to link top-bottom and left-right so they are equal.
User story:
When changing a button padding, you would most probably want to have vertical & horizontal values linked, but it doesn't make sense to have all values linked;
When setting a border-width for a button, it's useful to have all the values linked;
FYI, you can now use the component from latest version of Gutenberg:
@abaicus From what I've seen, that control @HardeepAsrani mentioned is still experimental. Should I still use it like this? :seal:
Yea, it's been experimental for more than a year at this point so not an issue. They will remove experimental anytime they're satisfied. If they, in very very unlikely scenario, remove it, Neve can anyway just use the component from importing it from the wp-components package to Neve codebase.