From 41070664c59af005c3c75384c550aed7e9c42fb9 Mon Sep 17 00:00:00 2001 From: silvererudite Date: Thu, 31 Oct 2019 18:25:02 +0600 Subject: [PATCH] fixing white space around svg icon in edit-container mode --- src/css/popup.css | 6 ++++-- src/js/popup.js | 7 ++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/css/popup.css b/src/css/popup.css index 7571d09..8c95602 100644 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -583,9 +583,11 @@ span ~ .panel-header-text { padding-inline-start: 4px; } -.edit-containers-panel .userContext-wrapper { +/* disabling this removes white spaces around svg icon in edit-containers mode */ + +/* .edit-containers-panel .userContext-wrapper { max-inline-size: calc(var(--overflow-size) + 203px); -} +} */ .disable-edit-containers { opacity: var(--inactive-opacity); diff --git a/src/js/popup.js b/src/js/popup.js index 13f2036..4d8e1e2 100644 --- a/src/js/popup.js +++ b/src/js/popup.js @@ -895,6 +895,7 @@ Logic.registerPanel(P_CONTAINERS_EDIT, { src="/img/container-edit.svg" class="pop-button-image" /> +