Prevent layout recalculations in some animations

This commit is contained in:
Fedor Indutny
2022-11-23 12:13:13 -08:00
committed by GitHub
parent 97454b6bac
commit e3299b0445
10 changed files with 52 additions and 27 deletions

View File

@@ -15,6 +15,7 @@
flex-direction: row;
animation: 500ms module-InstallScreenQrCodeNotScannedStep__slide-in;
position: relative;
top: 0;
@include light-theme {
max-width: $base-max-width;
@@ -113,12 +114,12 @@
@keyframes module-InstallScreenQrCodeNotScannedStep__slide-in {
from {
top: -8px;
transform: translateY(-8px);
opacity: 0;
}
to {
top: 0;
transform: translateY(0px);
opacity: 1;
}
}