Skip to content

Commit afa6899

Browse files
Fix: Author image aspect ratio (compiler-research#217)
* Add Gemfile.lock to .gitignore * Fix author image aspect ratio
1 parent 555cf45 commit afa6899

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ _site/
33
.jekyll-cache/
44
.jekyll-metadata
55
.DS_Store
6+
Gemfile.lock

_includes/blog-post-card.html

+1
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

+4-1
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)