mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix popup panel rendering when embedded in logger
Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3015
This commit is contained in:
parent
af0a3f4abb
commit
4183ce477a
3 changed files with 3 additions and 2 deletions
|
|
@ -488,7 +488,7 @@ body[dir="rtl"] .closeButton {
|
|||
border: 1px solid gray;
|
||||
bottom: 0;
|
||||
display: none;
|
||||
max-height: 70vh;
|
||||
max-height: min(800px, calc(100vh - 2rem));
|
||||
min-width: 360px;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
|
|
|
|||
|
|
@ -736,7 +736,7 @@ body:not([data-more*="e"]) [data-more="e"] {
|
|||
min-width: unset;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
:root.portrait #firewall-vspacer {
|
||||
:root.portrait body[data-more*="e"] #firewall-vspacer {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1479,6 +1479,7 @@ const getPopupData = async function(tabId, first = false) {
|
|||
selfURL.searchParams.get('portrait')
|
||||
) {
|
||||
dom.cl.add(dom.root, 'portrait');
|
||||
dom.cl.remove(dom.root, 'desktop');
|
||||
} else if ( dom.cl.has(dom.root, 'desktop') ) {
|
||||
await nextFrames(8);
|
||||
const main = qs$('#main');
|
||||
|
|
|
|||
Loading…
Reference in a new issue