Skip to content

Commit

Permalink
Style: reduce animation time if highlight filter and the time of set …
Browse files Browse the repository at this point in the history
…null the new credentials
  • Loading branch information
gkatrakazas committed May 17, 2024
1 parent 7ef1d54 commit 07bf477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/context/CredentialsContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const CredentialsProvider = ({ children }) => {
setLatestCredentials(latestCreds);
setTimeout(() => {
setLatestCredentials(new Set());
}, 8000); // Clear the highlight after 5 seconds
}, 4000);
}

setVcEntityList(vcEntityList);
Expand Down
4 changes: 2 additions & 2 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ button.reactour__close {
filter: brightness(1);
}
50% {
filter: brightness(1.15);
filter: brightness(1.17);
}
}

Expand All @@ -119,7 +119,7 @@ button.reactour__close {
}

.highlight-filter {
animation: highlight-filter 5s ease-in-out;
animation: highlight-filter 3s ease-in-out;
}

.fade-in {
Expand Down

0 comments on commit 07bf477

Please sign in to comment.