Add will-change to photo-container

pull/37/head
Varun Patil 2022-09-08 10:45:14 -07:00
parent 4abf300350
commit e2d5dcbc1c
1 changed files with 4 additions and 0 deletions

View File

@ -190,6 +190,10 @@ export default {
<style scoped>
/* Container and selection */
.photo-container {
will-change: transform, opacity;
transform: translateZ(0);
}
.photo-container.leaving {
transition: all 0.2s ease-in;
transform: scale(0.9);