From 58ff8dcfb1fb2edcf89bcc10691afa885731cdf0 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Thu, 27 Jun 2024 18:23:16 +0900 Subject: [PATCH] Fix: Content - Same size sidebar button at `about:addons` #911 --- css/leptonContent.css | 6 ++++++ css/leptonContentESR.css | 3 +++ src/contents/_compatibility.scss | 7 ++++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/css/leptonContent.css b/css/leptonContent.css index 0a0a732..94dcb0b 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -34,6 +34,9 @@ box-sizing: content-box; padding: 0 !important; } + #categories { + padding-inline-end: 1px !important; /* Original: 4px */ + } } /** Video player **************************************************************/ /* Control Bar Size */ @@ -3690,6 +3693,9 @@ box-sizing: content-box; padding: 0 !important; } + #categories { + padding-inline-end: 1px !important; /* Original: 4px */ + } } /** Video player **************************************************************/ /* Control Bar Size */ diff --git a/css/leptonContentESR.css b/css/leptonContentESR.css index b129b07..a11e844 100644 --- a/css/leptonContentESR.css +++ b/css/leptonContentESR.css @@ -34,6 +34,9 @@ box-sizing: content-box; padding: 0 !important; } + #categories { + padding-inline-end: 1px !important; /* Original: 4px */ + } } /** Video player **************************************************************/ /* Control Bar Size */ diff --git a/src/contents/_compatibility.scss b/src/contents/_compatibility.scss index dbff598..50de179 100644 --- a/src/contents/_compatibility.scss +++ b/src/contents/_compatibility.scss @@ -34,10 +34,15 @@ } } -// #695 @include moz-document(url-prefix "about:addons") { + // #695 #updates-message + .page-options-menu > .more-options-button { box-sizing: content-box; padding: 0 !important; } + + // #911 + #categories { + padding-inline-end: 1px !important; /* Original: 4px */ + } }