From c327fb7fe04949990993f6deb218d144e6b364c4 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Mon, 23 Sep 2024 20:36:53 +0900 Subject: [PATCH] Fix: Content - `about:process` thin icon #960 --- css/leptonContent.css | 8 ++++++-- css/leptonContentESR.css | 4 +++- src/contents/proton_contents/_about_processes.scss | 4 +++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/css/leptonContent.css b/css/leptonContent.css index 6f3c5c6..ee807bb 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -2273,7 +2273,9 @@ } .profiler-icon { cursor: pointer; - background-image: url("../icons/performance.svg") no-repeat center !important; + background-image: url("../icons/performance.svg") !important; + background-repeat: no-repeat !important; + background-position: center !important; color: inherit !important; } @supports not -moz-bool-pref("userChrome.rounding.square_button") { @@ -6017,7 +6019,9 @@ } .profiler-icon { cursor: pointer; - background-image: url("../icons/performance.svg") no-repeat center !important; + background-image: url("../icons/performance.svg") !important; + background-repeat: no-repeat !important; + background-position: center !important; color: inherit !important; } @media (-moz-bool-pref: "userContent.page.proton") and (not (-moz-bool-pref: "userChrome.rounding.square_button")) { diff --git a/css/leptonContentESR.css b/css/leptonContentESR.css index 7044aa9..a0def8e 100644 --- a/css/leptonContentESR.css +++ b/css/leptonContentESR.css @@ -2276,7 +2276,9 @@ } .profiler-icon { cursor: pointer; - background-image: url("../icons/performance.svg") no-repeat center !important; + background-image: url("../icons/performance.svg") !important; + background-repeat: no-repeat !important; + background-position: center !important; color: inherit !important; } @supports not -moz-bool-pref("userChrome.rounding.square_button") { diff --git a/src/contents/proton_contents/_about_processes.scss b/src/contents/proton_contents/_about_processes.scss index 7a823ab..5a05cdc 100644 --- a/src/contents/proton_contents/_about_processes.scss +++ b/src/contents/proton_contents/_about_processes.scss @@ -8,7 +8,9 @@ .profiler-icon { cursor: pointer; - background-image: url("../icons/performance.svg") no-repeat center !important; + background-image: url("../icons/performance.svg") !important; + background-repeat: no-repeat !important; + background-position: center !important; @include NotOption("userChrome.rounding.square_button") { border-radius: 8px !important; }