Fixed non-square avatar issue

This commit is contained in:
Sodbileg Gansukh
2024-06-18 12:40:56 +08:00
parent 476c6e9b02
commit 5fcbe8f3fd
3 changed files with 5 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -2024,6 +2024,8 @@ Search LOGO Login Subscribe
.gh-article-author-image :is(img, svg) {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
@@ -2535,6 +2537,7 @@ figcaption a {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
}
.author-template .gh-article-title {