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