From 84751c09e7c97b18d23d0a43107045245f525474 Mon Sep 17 00:00:00 2001 From: Henrik Uggla Date: Fri, 1 Mar 2024 12:51:58 +0100 Subject: [PATCH] Update popup.js --- src/popup.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/popup.js b/src/popup.js index 32f54c96c..40c358ada 100644 --- a/src/popup.js +++ b/src/popup.js @@ -66,9 +66,9 @@ function minimizePopup() { const ocardtitle = document.getElementById('o-card-title'); oidentify.style.display = oidentify.style.display === 'none' ? 'block' : 'none'; opopup.style.width = oidentify.style.display === 'none' ? 'auto' : null; - opopup.style.height = oidentify.style.display === 'none' ? '78px' : '58px'; - opopup.children[0].style.position = oidentify.style.display === 'none' ? null : 'sticky'; - ocardtitle.style.display = oidentify.style.display === 'none' ? null : 'none'; + opopup.style.height = oidentify.style.display === 'none' ? '58px' : '78px'; + opopup.children[0].style.position = oidentify.style.display === 'none' ? 'sticky' : null; + ocardtitle.style.display = oidentify.style.display === 'none' ? 'none' : null; } /**