Skip to content

Commit 5fcbe8f

Browse files
Fixed non-square avatar issue
1 parent 476c6e9 commit 5fcbe8f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

assets/built/screen.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/built/screen.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/screen.css

+3
Original file line numberDiff line numberDiff line change
@@ -2024,6 +2024,8 @@ Search LOGO Login Subscribe
20242024
.gh-article-author-image :is(img, svg) {
20252025
position: absolute;
20262026
inset: 0;
2027+
width: 100%;
2028+
height: 100%;
20272029
object-fit: cover;
20282030
}
20292031

@@ -2535,6 +2537,7 @@ figcaption a {
25352537
width: 120px;
25362538
height: 120px;
25372539
border-radius: 50%;
2540+
object-fit: cover;
25382541
}
25392542

25402543
.author-template .gh-article-title {

0 commit comments

Comments
 (0)