toolbar below content: move permissions popups upwards if needed

At least on linux permissions-popup and notification-popup panels
don't get side=bottom attribute so the open downwards which causes them to
be drawn outside of screen. Fixes #493
This commit is contained in:
MrOtherGuy
2024-12-27 15:19:54 +02:00
parent 0803a042a2
commit ded579f2db
2 changed files with 16 additions and 2 deletions

View File

@@ -37,6 +37,12 @@ See the above repository for updates as well as full license text. */
opacity: 1 !important;
will-change: unset !important;
}
#notification-popup[side="top"]{
margin-top: calc(-2 * var(--panel-padding-block) - 40px - 32px - 8.5em) !important;
}
#permission-popup[side="top"]{
margin-top: calc(-2 * var(--panel-padding-block) - 2.5em);
}
}
#nav-bar,