diff --git a/src/css/logger-ui.css b/src/css/logger-ui.css index ea3098d930225..90460d2b18da5 100644 --- a/src/css/logger-ui.css +++ b/src/css/logger-ui.css @@ -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; diff --git a/src/css/popup-fenix.css b/src/css/popup-fenix.css index a1e839e9dcef0..252e371e09c86 100644 --- a/src/css/popup-fenix.css +++ b/src/css/popup-fenix.css @@ -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; } diff --git a/src/js/popup-fenix.js b/src/js/popup-fenix.js index 0ce3ae3f1fa43..b44b923b90c10 100644 --- a/src/js/popup-fenix.js +++ b/src/js/popup-fenix.js @@ -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');