1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 01:27:12 +02:00

Fix popup panel rendering when embedded in logger

Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3015
This commit is contained in:
Raymond Hill 2023-12-09 17:54:02 -05:00
parent af0a3f4abb
commit 4183ce477a
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
3 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}

View File

@ -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');