Skip to content

Commit

Permalink
Fix: Animate - Pinned Tab
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Nov 17, 2022
1 parent 7fc62b9 commit e177409
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions css/leptonChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions src/decoration/_animate.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit e177409

Please sign in to comment.