Skip to content

Commit

Permalink
Fix popup panel rendering when embedded in logger
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Dec 9, 2023
1 parent af0a3f4 commit 4183ce4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/css/logger-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/css/popup-fenix.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
1 change: 1 addition & 0 deletions src/js/popup-fenix.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 4183ce4

Please sign in to comment.