Fix: Combined - Subbutton as normal #671

This commit is contained in:
alstjr7375 2023-04-11 18:36:45 +09:00
parent 15508d95b8
commit 79ec43f0ad
2 changed files with 6 additions and 11 deletions

11
css/leptonChrome.css generated
View file

@ -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;

View file

@ -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);