Skip to content

Conversation

doup
Copy link
Contributor

@doup doup commented May 4, 2024

Minor tweaks to tree-menu BEM component used in most of the sidebar menus. Changes:

  • Reduce horizontal padding to 12px
  • Reduce sub-menu (ul > ul) items offset to 12px
  • Remove border-radius to the open/close chevron
  • Increase line-height for better legibility in multi-line entries
  • Balance text in multi-line entries when possible (avoids widows and should look more "balanced")

DEMO BEFORE/AFTER

Warning

Ignore cursor icon in the video, the video recording app sometimes messes the cursor.

bevy-tweak-tree-menu-styling.mp4

Copy link
Contributor

@NthTensor NthTensor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks much nicer.

@TrialDragon TrialDragon added C-Feature A new feature, making something new possible S-Ready-For-Final-Review Ready for a maintainer to consider for merging C-Webdev labels May 5, 2024
@cart cart added this pull request to the merge queue May 7, 2024
Merged via the queue into bevyengine:main with commit 37ecaa0 May 7, 2024
@doup doup deleted the feature/tweak-tree-menu branch May 8, 2024 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Feature A new feature, making something new possible C-Webdev S-Ready-For-Final-Review Ready for a maintainer to consider for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants