diff --git a/popup/hotkeys.js b/popup/hotkeys.js index 12820168..4508d151 100644 --- a/popup/hotkeys.js +++ b/popup/hotkeys.js @@ -131,7 +131,7 @@ window.addEventListener('showStyles:done', function _() { const height = 4 + container.firstElementChild.scrollHeight + container.lastElementChild.scrollHeight + - parseFloat(getComputedStyle(container.firstElementChild).paddingBottom) * 4; + parseFloat(getComputedStyle(container.lastElementChild).paddingBottom); if (height > document.body.clientHeight) { document.body.style.height = height + 'px'; }