Skip to content

Commit 1f3a7c6

Browse files
Fix author image aspect ratio
1 parent fccb8cc commit 1f3a7c6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

_includes/blog-post-card.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ <h3>{{ post.title }}</h3>
6565
width: 30px;
6666
height: 30px;
6767
border-radius: 50%;
68+
object-fit: cover;
6869
margin: 0;
6970
margin-top: 4px;
7071
margin-bottom: 4px;

_layouts/post.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ <h4>Tags:</h4>
4848

4949
<style>
5050
.post-header .author-image {
51-
margin: 0;
51+
width: 30px;
52+
height: 30px;
53+
border-radius: 50%;
54+
object-fit: cover;
5255
}
5356

5457
.post-banner .banner-image {

0 commit comments

Comments
 (0)