Fix: Combined - Backbutton normal

This commit is contained in:
alstjr7375 2022-12-27 11:20:19 +09:00
parent d0d545a509
commit af1f03d2d7
2 changed files with 15 additions and 2 deletions

View file

@ -8042,7 +8042,16 @@
}
}
@supports -moz-bool-pref("userChrome.combined.nav_button") or -moz-bool-pref("userChrome.combined.urlbar.nav_button") {
@supports not -moz-bool-pref("userChrome.combined.sub_button.as_normal") {
@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")
)
) {
#nav-bar-customization-target > #forward-button {
--uc-forward-button-margin: calc(-1 * var(--uc-toolbarbutton-boundary) + 1px);
z-index: 2;

View file

@ -39,7 +39,11 @@
//------------------------------------------------------------------------------
#nav-bar-customization-target > {
@include NotOption("userChrome.combined.sub_button.as_normal") {
@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")
)) {
#forward-button {
--uc-forward-button-margin: calc(-1 * var(--uc-toolbarbutton-boundary) + 1px);