Set min-width on menu popups wide enough for all menu items

The longest one is File > Set As Wallpaper (Centered)
This commit is contained in:
Isaiah Odhner 2023-04-18 19:05:13 -04:00
parent aa1e8dca7f
commit 66ce8df21d

View File

@ -113,12 +113,13 @@ Screen {
layer: menu-popup;
width: auto;
height: auto;
min-width: 30;
overflow-y: auto;
/* calc isn't supported, and this should be determined by the y position anyways, which is set in python */
/* max-height: calc(100vh - 3); */
max-height: 90vh;
/* width: auto doesn't account for the scrollbar... */
/* This cuts off a character, but it's not as ugly as having a horizontal scrollbar */
/* This can cut off a character, but it's not as ugly as having a horizontal scrollbar */
overflow-x: hidden;
}
/* MenuBar { */