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:
@@ -37,5 +37,13 @@ See the above repository for updates as well as full license text. */
|
||||
}
|
||||
|
||||
.urlbarView-body-inner{ border-top-style: none !important; }
|
||||
|
||||
}
|
||||
|
||||
@media (-moz-platform: linux){
|
||||
#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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user