fix(img): fix loading image size bug
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user