From dff0c133b48526c820293c7c66277dfbb29bfe95 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 18 Feb 2022 08:02:47 +0300 Subject: [PATCH] hide 'manage site styles' if blocked --- popup/popup.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/popup/popup.css b/popup/popup.css index 5f9ddddb..9d03da98 100644 --- a/popup/popup.css +++ b/popup/popup.css @@ -496,6 +496,7 @@ body > .actions { vertical-align: middle; } +body.blocked #popup-manage-button + .split-btn-pedal, body.blocked #installed > :not(.frame), body.blocked .actions > .main-controls { display: none; @@ -664,6 +665,9 @@ body.blocked .actions > .main-controls { #popup-options .split-btn > :first-child { width: calc(100% - 16px); } +.blocked #popup-options .split-btn > :first-child { + width: 100%; +} #popup-options button { white-space: nowrap; overflow: hidden;