From 626145e492e1523b3edbb022c3a11b5510dd1564 Mon Sep 17 00:00:00 2001 From: Thomas Rittson Date: Wed, 17 Mar 2021 11:02:19 +1000 Subject: [PATCH] Revert "Merge pull request #1627 from emindeniz99/master" This reverts commit 9063a98949f0b2656feafe19c64ecf6f2802b43d, reversing changes made to 540ca5d204e12126ad3cc29e3503f2a246188a4e. --- src/popup/services/services.module.ts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/popup/services/services.module.ts b/src/popup/services/services.module.ts index cbd36ecd72..d5bdf17bdb 100644 --- a/src/popup/services/services.module.ts +++ b/src/popup/services/services.module.ts @@ -74,14 +74,10 @@ export function initFactory(platformUtilsService: PlatformUtilsService, i18nServ return async () => { if (!popupUtilsService.inPopup(window)) { window.document.body.classList.add('body-full'); - } else { - if (window.screen.availHeight < 600) { - window.document.body.classList.add('body-xs'); - } else if (window.screen.availHeight <= 800) { - window.document.body.classList.add('body-sm'); - } - - document.body.style.setProperty('height', `${window.innerHeight}px`, 'important'); + } else if (window.screen.availHeight < 600) { + window.document.body.classList.add('body-xs'); + } else if (window.screen.availHeight <= 800) { + window.document.body.classList.add('body-sm'); } if (BrowserApi.getBackgroundPage() != null) {