Skip to content

Commit

Permalink
css: use flex to fix floating paginate (go-gitea#7656)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapk committed Jul 29, 2019
1 parent d827b0b commit 1d42b2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ footer .ui.left,footer .ui.right{line-height:40px}
.repository .segment.reactions .select-reaction{float:none}
.repository .segment.reactions .select-reaction:not(.active) a{display:none}
.repository .segment.reactions:hover .select-reaction a{display:block}
.user-cards .list{padding:0}
.user-cards .list{padding:0;display:flex;flex-wrap:wrap}
.user-cards .list .item{list-style:none;width:32%;margin:10px 10px 10px 0;padding-bottom:14px;float:left}
.user-cards .list .item .avatar{width:48px;height:48px;float:left;display:block;margin-right:10px}
.user-cards .list .item .name{margin-top:0;margin-bottom:0;font-weight:400}
Expand Down
2 changes: 2 additions & 0 deletions public/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -1971,6 +1971,8 @@
&.user-cards {
.list {
padding: 0;
display: flex;
flex-wrap: wrap;

.item {
list-style: none;
Expand Down

0 comments on commit 1d42b2f

Please sign in to comment.