-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not expand to full available width (#3506)
- Loading branch information
1 parent
36dea1b
commit 711bfca
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
711bfca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's better, but brake vertical align:
![image](https://user-images.githubusercontent.com/26143887/156842765-2896920f-0f9e-4430-9355-c322971c4b58.png)
PK and + is MenuBar
711bfca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@darjag I'm afraid we can't make it work for all cases because the original intent was to fix
vaadin-menu-bar
overflow when it is placed in the element withflex-direction: column
, but it causes problems when trying to centervaadin-menu-bar
in the container settingflex-direction: row
. We had this issue for other components e.g. #991 (the same fix was previously applied in vaadin/vaadin-form-layout#107)