fix(img): fix loading image size bug

This commit is contained in:
Dillon 2020-01-30 12:35:34 +08:00
parent 733416adaa
commit 4ada41fe00

View file

@ -28,9 +28,11 @@
img {
position: absolute;
width: 100%; height: 100%;
left: 0; top: 0;
object-fit: cover;
width: 100%;
height: 100%;
left: 0;
top: 0;
object-fit: scale-down;
}
}