Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nav Block: Show justification controls for vertical variant (#30351)
* Show justification controls for vertical variant - Don't limit controls to show only on horizontal - This enables controls to show for both horiz and vert - The vertical CSS specifies a block so will require tweaking - Filter out space-between from vertical controls * Fix aligments. * Add attribute so Nav Editor can hide justify - Adds an additional attribute to showJustifyControls to navigation block so the Nav Editor screen can hide the controls, since that screen is intended to create/edit nav menus and not format/style. - Use 'showJustifyControls' since the positive is easier to reason and there is already a 'showSubMenuIcon' attribute that also defaults to true * Right align text. * Use hasItemJustificationCOntrols prop instead of attribute * Restore property. Co-authored-by: jasmussen <[email protected]>
- Loading branch information