From 7d8225efc8ad9a44135a1cb771d247dfb435c0a9 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Fri, 28 Jun 2024 19:03:49 +0900 Subject: [PATCH] Fix: Content - Reduce translate table height #910 --- css/leptonContent.css | 16 ++++++++++++++++ css/leptonContentESR.css | 8 ++++++++ src/contents/_compatibility.scss | 10 ++++++++++ 3 files changed, 34 insertions(+) diff --git a/css/leptonContent.css b/css/leptonContent.css index 94dcb0ba..72ea6ee0 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -12,6 +12,14 @@ min-height: 27px !important; padding-inline-start: 35px !important; } + .translations-manage-language:first-child { + padding-block: 4px !important; + margin-bottom: 4px !important; + } + .translations-manage-language button { + min-height: var(--size-item-medium, 28px) !important; + max-height: var(--size-item-medium, 28px) !important; + } #firefoxExperimentalCategory:not([hidden="true"]) { display: inline-block; } @@ -3671,6 +3679,14 @@ min-height: 27px !important; padding-inline-start: 35px !important; } + .translations-manage-language:first-child { + padding-block: 4px !important; + margin-bottom: 4px !important; + } + .translations-manage-language button { + min-height: var(--size-item-medium, 28px) !important; + max-height: var(--size-item-medium, 28px) !important; + } #firefoxExperimentalCategory:not([hidden="true"]) { display: inline-block; } diff --git a/css/leptonContentESR.css b/css/leptonContentESR.css index a11e8449..b4ee702e 100644 --- a/css/leptonContentESR.css +++ b/css/leptonContentESR.css @@ -12,6 +12,14 @@ min-height: 27px !important; padding-inline-start: 35px !important; } + .translations-manage-language:first-child { + padding-block: 4px !important; + margin-bottom: 4px !important; + } + .translations-manage-language button { + min-height: var(--size-item-medium, 28px) !important; + max-height: var(--size-item-medium, 28px) !important; + } #firefoxExperimentalCategory:not([hidden="true"]) { display: inline-block; } diff --git a/src/contents/_compatibility.scss b/src/contents/_compatibility.scss index 50de1798..121880c4 100644 --- a/src/contents/_compatibility.scss +++ b/src/contents/_compatibility.scss @@ -11,6 +11,16 @@ padding-inline-start: 35px !important; } + // #910 + .translations-manage-language:first-child { + padding-block: 4px !important; + margin-bottom: 4px !important; + } + .translations-manage-language button { + min-height: var(--size-item-medium, 28px) !important; + max-height: var(--size-item-medium, 28px) !important; + } + // Align & Separator #722 #firefoxExperimentalCategory { &:not([hidden="true"]) {