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 { img {
position: absolute; position: absolute;
width: 100%; height: 100%; width: 100%;
left: 0; top: 0; height: 100%;
object-fit: cover; left: 0;
top: 0;
object-fit: scale-down;
} }
} }