From 82dbdf76417d4ece43b89d9f5ae5f4228d66bd3c Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sun, 8 Oct 2023 22:47:14 +0900 Subject: [PATCH] Fix: Proton - MacOS page info icons cut off #780 --- css/leptonChrome.css | 5 +++++ css/leptonChromeESR.css | 5 +++++ src/theme/proton_chrome/_page_info.scss | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 9e2f21e2..1ca757f5 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -2901,6 +2901,11 @@ color: var(--in-content-button-text-color) !important; /* SelectedItemText */ background-color: var(--in-content-button-background-active) !important; /* #C1D2EE; */ } + @supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") { + #viewGroup > radio { + height: auto !important; + } + } #generalTab { --viewgroup-image: url(chrome://global/skin/icons/page-portrait.svg); } diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index c3ca40b9..3f3dd8d4 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -3218,6 +3218,11 @@ color: var(--in-content-button-text-color) !important; /* SelectedItemText */ background-color: var(--in-content-button-background-active) !important; /* #C1D2EE; */ } + @supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") { + #viewGroup > radio { + height: auto !important; + } + } #generalTab { --viewgroup-image: url(chrome://global/skin/icons/page-portrait.svg); } diff --git a/src/theme/proton_chrome/_page_info.scss b/src/theme/proton_chrome/_page_info.scss index df9dc00a..3fbe4c72 100644 --- a/src/theme/proton_chrome/_page_info.scss +++ b/src/theme/proton_chrome/_page_info.scss @@ -33,6 +33,10 @@ color: var(--in-content-button-text-color) !important; /* SelectedItemText */ background-color: var(--in-content-button-background-active) !important; /* #C1D2EE; */ } + + @include OS($mac) { + height: auto !important; + } } #generalTab { --viewgroup-image: url(chrome://global/skin/icons/page-portrait.svg);