From 79ec43f0adc1b6d0c43e1019bedd95bd7e02f546 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Tue, 11 Apr 2023 18:36:45 +0900 Subject: [PATCH] Fix: Combined - Subbutton as normal #671 --- css/leptonChrome.css | 11 ++--------- src/combined/_back_forward_button.scss | 6 ++++-- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 7db311b..60fbc06 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -8183,15 +8183,8 @@ } @supports -moz-bool-pref("userChrome.combined.nav_button") or -moz-bool-pref("userChrome.combined.urlbar.nav_button") { @supports -moz-bool-pref("userChrome.combined.urlbar.nav_button") or - ( - not - ( - -moz-bool-pref("userChrome.combined.sub_button.as_normal") and -moz-bool-pref( - "userChrome.combined.nav_button" - ) - and -moz-bool-pref("userChrome.combined.urlbar.home_button") - ) - ) { + (not -moz-bool-pref("userChrome.combined.sub_button.as_normal")) or + (-moz-bool-pref("userChrome.combined.nav_button") and -moz-bool-pref("userChrome.combined.urlbar.home_button")) { #nav-bar-customization-target > #forward-button { --uc-forward-button-margin: calc(-1 * var(--uc-toolbarbutton-boundary) + 1px); z-index: 2; diff --git a/src/combined/_back_forward_button.scss b/src/combined/_back_forward_button.scss index e237209..715c8eb 100644 --- a/src/combined/_back_forward_button.scss +++ b/src/combined/_back_forward_button.scss @@ -40,10 +40,12 @@ #nav-bar-customization-target > { @supports -moz-bool-pref("userChrome.combined.urlbar.nav_button") or - (not (-moz-bool-pref("userChrome.combined.sub_button.as_normal") and + ((not -moz-bool-pref("userChrome.combined.sub_button.as_normal")) or + ( -moz-bool-pref("userChrome.combined.nav_button") and -moz-bool-pref("userChrome.combined.urlbar.home_button") - )) { + ) + ) { #forward-button { --uc-forward-button-margin: calc(-1 * var(--uc-toolbarbutton-boundary) + 1px);