Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
fix(img): fix loading image size bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Jan 30, 2020
1 parent 733416a commit 4ada41f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions assets/css/_page/_posts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 4ada41f

Please sign in to comment.