Fix in-app-menu squishing sub-menu items

This commit is contained in:
jkrei0
2023-10-07 22:50:32 -04:00
parent f87607d25d
commit d9b8d8c48d
2 changed files with 14 additions and 0 deletions

View File

@ -80,6 +80,11 @@ menu-panel[open="true"] {
opacity: 1;
transform: scale(1);
}
menu-panel.position-by-bottom {
top: unset;
bottom: calc(100vh - var(--y, 100%));
max-height: calc(var(--y, 0) - var(--menu-bar-height, 36px) - 16px);
}
menu-item {
-webkit-app-region: none;