Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure consistent right alignment for nested menus #228

Merged
merged 3 commits into from
Mar 27, 2019

Conversation

web-padawan
Copy link
Member

@web-padawan web-padawan commented Mar 25, 2019

Related to vaadin/vaadin-menu-bar#17

Similar to #223 but now for right-aligned menu, so implementation is different.

Before

Submenu overlay is left-aligned:

Screen Shot 2019-03-25 at 10 39 49

After

Submenu overlay is also right aligned and takes parent's content width into account:

Screen Shot 2019-03-25 at 10 39 29


This change is Reviewable

src/vaadin-context-menu.html Outdated Show resolved Hide resolved
@web-padawan web-padawan merged commit 17357ce into master Mar 27, 2019
@web-padawan web-padawan deleted the fix/rightaligned branch March 27, 2019 11:31
@jtomass jtomass added this to ✅ Done in vaadin-core Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
vaadin-core
  
✅ Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants