Skip to content

Commit

Permalink
Fix: Sidebar - Remove animated flashes from Windows black7375#1053
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 authored and Hou-Rui committed Jan 22, 2025
1 parent 248f5bc commit 7ca2b4c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 20 deletions.
16 changes: 6 additions & 10 deletions css/leptonChrome.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions css/leptonChromeESR.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions src/decoration/_animate.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,14 @@ xul|search-textbox.tabsFilter,
max-width: 36em;

/* Animation */
transition: margin-inline-start 0.25s var(--animation-easing-function), opacity 0.25s ease-in-out,
visibility 0s linear !important;
will-change: margin-inline-start, opacity, visibility;
transition: margin-inline-start 0.25s var(--animation-easing-function), visibility 0s linear !important;
will-change: margin-inline-start, visibility;

&[hidden="true"] {
@include Box(true);
margin-inline-start: -18em;
opacity: 0;
visibility: collapse;
transition-delay: 0s, 0s, 0.25s !important;
transition-delay: 0s, 0.25s !important;
}
}
}
Expand Down

0 comments on commit 7ca2b4c

Please sign in to comment.