From e1774099057e7364e48f474e70ef90bd28bea1f0 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Thu, 17 Nov 2022 16:44:55 +0900 Subject: [PATCH] Fix: Animate - Pinned Tab --- css/leptonChrome.css | 4 ++-- src/decoration/_animate.scss | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 23c93c7..770636d 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -2821,8 +2821,8 @@ margin-inline-start 0.2s var(--animation-easing-function), min-width 0.1s ease-out, max-width 0.1s ease-out !important; } #tabbrowser-tabs:not([movingtab]) .tabbrowser-tab[pinned] { - transition: -moz-box-flex 0.2s var(--animation-easing-function), - margin-inline-start 0.2s var(--animation-easing-function) !important; + transition: margin-inline-start 0.2s var(--animation-easing-function), min-width 0.1s ease-out, + max-width 0.1s ease-out !important; } #tabbrowser-tabs:not([movingtab]) .tab-content::before, #tabbrowser-tabs:not([movingtab]) .tab-content::after { diff --git a/src/decoration/_animate.scss b/src/decoration/_animate.scss index 6f79503..8290d94 100644 --- a/src/decoration/_animate.scss +++ b/src/decoration/_animate.scss @@ -40,9 +40,7 @@ margin-inline-start 0.2s var(--animation-easing-function), min-width 0.1s ease-out, max-width 0.1s ease-out !important; } &[pinned] { - transition: -moz-box-flex 0.2s var(--animation-easing-function), - margin-inline-start 0.2s var(--animation-easing-function) !important; - + transition: margin-inline-start 0.2s var(--animation-easing-function), min-width 0.1s ease-out, max-width 0.1s ease-out !important; } }