AlignmentControlMatrix display doesn't respect the width
prop.
#34665
Labels
[Feature] Component System
WordPress component system
[Package] Components
/packages/components
[Type] Bug
An existing feature does not function as intended
Description
While updating the documentation for the
AlignmentControlMatrix
, I found that no matter what value I passed to thewidth
prop, the display was always the same.Step-by-step reproduction instructions
width
value to anything other than the default of 92Screenshots, screen recording, code snippet
I created a simple plugin with the following code to render the control:
As you can see in the screenshot, the value is passed to the markup but the default value ( 92 ) is overriding the styles.
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: