From 998095f01cb54790f14c7346cfc4bcb45daa08c2 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Thu, 16 Feb 2023 02:48:02 +0900 Subject: [PATCH] Fix: Padding - Protection popup menu #627 --- css/leptonChrome.css | 7 +++++-- src/padding/_popup_panel.scss | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index d9efbf7..0ebc404 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -3879,12 +3879,15 @@ } /* not cut off for Protection popup Footer on windows */ :root[uidensity="compact"] #protections-popup-multiView #protections-popup-footer { - padding: 0 !important; + padding-block-start: 0 !important; + padding-block-end: 4px !important; + } + :root[uidensity="compact"] #protections-popup-content { + margin-block: 0 !important; } /* Button and disabled category in Protection popup */ :root[uidensity="compact"] #protections-popup-multiView .protections-popup-footer-button, :root[uidensity="compact"] #protections-popup-multiView .protections-popup-category { - height: 20px !important; min-height: 20px !important; } /* Footer Button in Tracking Content Panel */ diff --git a/src/padding/_popup_panel.scss b/src/padding/_popup_panel.scss index 8725396..9bf47ee 100644 --- a/src/padding/_popup_panel.scss +++ b/src/padding/_popup_panel.scss @@ -25,12 +25,15 @@ } /* not cut off for Protection popup Footer on windows */ :root[uidensity="compact"] #protections-popup-multiView #protections-popup-footer { - padding: 0 !important; + padding-block-start: 0 !important; + padding-block-end: 4px !important; +} +:root[uidensity="compact"] #protections-popup-content { + margin-block: 0 !important; } /* Button and disabled category in Protection popup */ :root[uidensity="compact"] #protections-popup-multiView .protections-popup-footer-button, :root[uidensity="compact"] #protections-popup-multiView .protections-popup-category { - height: 20px !important; min-height: 20px !important; } /* Footer Button in Tracking Content Panel */