Skip to content

Commit

Permalink
perf: add will-change
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgoff committed Jan 31, 2025
1 parent b886f9c commit ccf7fd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/organisms/Aladin/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.aladinContainer {
transition: opacity 0.2s;
transition-delay: 0.2s;
transition: opacity var(--time-transition-base) var(--time-transition-slow);
position: absolute !important; /* stylelint-disable-line declaration-no-important */
inset: 0;
background-color: var(--black);
border: 0 !important; /* stylelint-disable-line declaration-no-important */
opacity: 0;
width: 100%;
height: 100%;
will-change: opacity;

:global(.aladin-logo-container) {
display: none;
Expand Down

0 comments on commit ccf7fd1

Please sign in to comment.