From 4b4e32c6bdfa906b7e68e96e2ecffbaeca4cd81c Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Mon, 20 Mar 2023 21:05:08 +0900 Subject: [PATCH] Fix: Compatibility - `-moz-box-pack` at FF v112 #670 --- css/leptonChrome.css | 2 ++ src/navbar/_as_sidebar.scss | 2 +- src/theme/proton_chrome/_proton_commons.scss | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 267a792..43704c4 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -2004,6 +2004,7 @@ #label-box { align-items: center !important; -moz-box-align: center !important; + justify-content: center !important; -moz-box-pack: center !important; font-weight: 600 !important; } @@ -7637,6 +7638,7 @@ position: absolute !important; } #nav-bar-customization-target { + justify-content: space-between; -moz-box-pack: justify; } #nav-bar { diff --git a/src/navbar/_as_sidebar.scss b/src/navbar/_as_sidebar.scss index 8d813d4..05ef66b 100644 --- a/src/navbar/_as_sidebar.scss +++ b/src/navbar/_as_sidebar.scss @@ -21,7 +21,7 @@ } #nav-bar-customization-target { - -moz-box-pack: justify; + @include BoxPack("justify"); } #nav-bar { // --toolbarbutton-outer-padding: 0px !important; diff --git a/src/theme/proton_chrome/_proton_commons.scss b/src/theme/proton_chrome/_proton_commons.scss index a80aad3..1d246a2 100644 --- a/src/theme/proton_chrome/_proton_commons.scss +++ b/src/theme/proton_chrome/_proton_commons.scss @@ -279,7 +279,7 @@ #label-box { @include BoxAlign("center", true); - -moz-box-pack: center !important; + @include BoxPack("center", true); font-weight: 600 !important; }