Skip to content

Commit

Permalink
Merge pull request #132 from changyuheng/pr-thumbnail-ratio
Browse files Browse the repository at this point in the history
Keep thumbnail aspect ratio
  • Loading branch information
LouisBarranqueiro committed Nov 2, 2015
2 parents e9315c0 + e153fbd commit b90ea78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/_css/components/_postShorten.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
display: block;
width: $post-thumbnail-image-width;
height: $post-thumbnail-image-width;
object-fit: cover;
overflow: hidden;
}
}
.postShorten-wrap {
Expand All @@ -111,6 +113,8 @@
display: block;
width: $post-thumbnail-image-width;
height: $post-thumbnail-image-width;
object-fit: cover;
overflow: hidden;
}
}
.postShorten-wrap {
Expand Down

0 comments on commit b90ea78

Please sign in to comment.