Skip to content

Commit

Permalink
Fix avatar misalignment (#22955)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zettat123 and lunny authored Feb 19, 2023
1 parent c53ad05 commit 65fc2d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/issue/view_content/pull.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{avatar $.Context .User}}
</a>
{{end}}
<span>
<span class="gt-ml-2">
{{if .User}}
<a href="{{.User.HomeLink}}">{{.User.GetDisplayName}}</a>
{{else if .Team}}
Expand Down
2 changes: 2 additions & 0 deletions web_src/less/_explore.less
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
.ui.user.list {
.item {
padding-bottom: 25px;
display: flex;

&:not(:first-child) {
border-top: 1px solid var(--color-secondary);
Expand All @@ -78,6 +79,7 @@
img.ui.avatar {
width: 40px;
height: 40px;
margin-right: 10px;
}

.description {
Expand Down

0 comments on commit 65fc2d1

Please sign in to comment.