Add will-change to photo-container
parent
4abf300350
commit
e2d5dcbc1c
|
@ -190,6 +190,10 @@ export default {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
/* Container and selection */
|
/* Container and selection */
|
||||||
|
.photo-container {
|
||||||
|
will-change: transform, opacity;
|
||||||
|
transform: translateZ(0);
|
||||||
|
}
|
||||||
.photo-container.leaving {
|
.photo-container.leaving {
|
||||||
transition: all 0.2s ease-in;
|
transition: all 0.2s ease-in;
|
||||||
transform: scale(0.9);
|
transform: scale(0.9);
|
||||||
|
|
Loading…
Reference in New Issue