toolbars below content: use linux top margin hack to extension panels
We already apply computed top margin to notification popup and permission popup so that they are visible. But it seems that if the panel is close enough to screen bottom edge (such as in maximized windows) then the panel contents fail typically fail to render. For whatever reason, changing the default margin for customizationui-widget-panel makes the failures much less frequent although it doesn't appear to get rid of the issue completely.
This commit is contained in:
@@ -37,6 +37,7 @@ See the above repository for updates as well as full license text. */
|
||||
opacity: 1 !important;
|
||||
will-change: unset !important;
|
||||
}
|
||||
#customizationui-widget-panel[side="top"],
|
||||
#notification-popup[side="top"]{
|
||||
margin-top: calc(-2 * var(--panel-padding-block) - 40px - 32px - 8.5em) !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user