From 8063e0801c89e9e356ec4d190305187425868773 Mon Sep 17 00:00:00 2001 From: RostiMelk Date: Sun, 24 May 2020 03:46:09 +0200 Subject: [PATCH] Minor bugfix on popup window height --- src/manifest.json | 2 +- src/scripts/popup.js | 2 -- src/styles/popup.css | 8 +++++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/manifest.json b/src/manifest.json index a9ef5a9..e270b63 100755 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "ACF Tools", - "version": "3.0.0", + "version": "3.0.1", "description": "__MSG_extDescription__", "default_locale": "en", "icons": { diff --git a/src/scripts/popup.js b/src/scripts/popup.js index 1f96235..a2cdf62 100644 --- a/src/scripts/popup.js +++ b/src/scripts/popup.js @@ -89,6 +89,4 @@ ready(() => { document.querySelector("#acfToolsStatus").classList.add('active'); } }); - - document.querySelector('html, #acfToolsUserSettingsPopup').style.height = "0"; }); \ No newline at end of file diff --git a/src/styles/popup.css b/src/styles/popup.css index fd9bdbe..2418e07 100644 --- a/src/styles/popup.css +++ b/src/styles/popup.css @@ -1,13 +1,15 @@ #acfToolsUserSettingsPopup, html { - width: 260px; + height: fit-content; max-height: 100%; - height: 100%; + width: 260px; max-width: 100%; +} +#acfToolsUserSettingsPopup { margin: 0; font-size: 13px; font-weight: 400; font-family: "Segoe UI",Helvetica,"Helvetica Neue",Arial,sans-serif; - + overflow: hidden; } #acfToolsUserSettingsPopup h1 { padding: 14px;