From 119f50521eceed5ae968f53aa6471607d2bf48d7 Mon Sep 17 00:00:00 2001 From: hensm Date: Wed, 24 Aug 2022 06:18:11 +0100 Subject: [PATCH] Calculate popup window height properly --- ext/src/ui/popup/Popup.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/src/ui/popup/Popup.svelte b/ext/src/ui/popup/Popup.svelte index 7f74fad..f01c8da 100644 --- a/ext/src/ui/popup/Popup.svelte +++ b/ext/src/ui/popup/Popup.svelte @@ -172,8 +172,7 @@ browser.windows.update(browserWindow.id, { height: Math.ceil( (document.body.clientHeight + - (window.outerHeight - window.innerHeight)) * - window.devicePixelRatio + (window.outerHeight - window.innerHeight)) ) }); }