mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 02:46:16 +01:00
fix(img): fix loading image size bug
This commit is contained in:
parent
733416adaa
commit
4ada41fe00
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue