adjusted warning entrance animation
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Shahan Nedadahandeh 2022-01-30 02:29:37 -08:00
parent 08ee4b73ac
commit e4a4c62b93
2 changed files with 2 additions and 2 deletions

View File

@ -7,5 +7,5 @@
opacity: 1;
max-height: 500px; /* just for smooth fade in purposes */
transition: max-height 100ms ease-in;
transition: max-height 1000ms ease-in, padding 100ms ease-in;
}

View File

@ -25,7 +25,7 @@ export function WarningHeader() {
return (
<div
className={styles.warning}
style={{ maxHeight: 0, opacity: 0 }}
style={{ maxHeight: 0, opacity: 0, padding: 0 }}
></div>
);
}