Skip to content

Commit 9b529ce

Browse files
committed
use flex in user item
1 parent e1ceb01 commit 9b529ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

templates/explore/users.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{{range .Users}}
99
<div class="item">
1010
{{avatar $.Context .}}
11-
<div class="content gt-dib gt-vm gt-pl-3">
11+
<div class="content">
1212
<span class="header"><a href="{{.HomeLink}}">{{.Name}}</a> {{.FullName}}</span>
1313
<div class="description">
1414
{{if .Location}}

web_src/less/_explore.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
.ui.user.list {
7070
.item {
7171
padding-bottom: 25px;
72+
display: flex;
7273

7374
&:not(:first-child) {
7475
border-top: 1px solid var(--color-secondary);
@@ -78,8 +79,7 @@
7879
img.ui.avatar {
7980
width: 40px;
8081
height: 40px;
81-
display: inline-block;
82-
vertical-align: top;
82+
margin-right: 10px;
8383
}
8484

8585
.description {

0 commit comments

Comments
 (0)