Umbraco.UI icon indicating copy to clipboard operation
Umbraco.UI copied to clipboard

V1/feature/menu items hide actions

Open JesmoDev opened this issue 9 months ago • 0 comments

Sets the width of the uui-menu-item action slot to 0 when not hovered or focused (previously just opacity) This gives the text in the menu item more space, which is useful in narrow layouts.

Example of problem: There's a lot of wasted space on the right side of the menu-item image

Example form Storybook Before: image

After: image

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

Checklist

  • [x] If my change requires a change to the documentation, I have updated the documentation in this pull request.
  • [x] I have read the CONTRIBUTING document.
  • [x] I have added tests to cover my changes.

JesmoDev avatar May 10 '24 13:05 JesmoDev