Skip to content

Commit ed3d124

Browse files
sapklunny
authored andcommitted
css: use flex to fix floating paginate (#7656)
1 parent 23e8cff commit ed3d124

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

public/css/index.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ footer .ui.left,footer .ui.right{line-height:40px}
756756
.repository .segment.reactions .select-reaction{float:none}
757757
.repository .segment.reactions .select-reaction:not(.active) a{display:none}
758758
.repository .segment.reactions:hover .select-reaction a{display:block}
759-
.user-cards .list{padding:0}
759+
.user-cards .list{padding:0;display:flex;flex-wrap:wrap}
760760
.user-cards .list .item{list-style:none;width:32%;margin:10px 10px 10px 0;padding-bottom:14px;float:left}
761761
.user-cards .list .item .avatar{width:48px;height:48px;float:left;display:block;margin-right:10px}
762762
.user-cards .list .item .name{margin-top:0;margin-bottom:0;font-weight:400}

public/less/_repository.less

+2
Original file line numberDiff line numberDiff line change
@@ -1971,6 +1971,8 @@
19711971
&.user-cards {
19721972
.list {
19731973
padding: 0;
1974+
display: flex;
1975+
flex-wrap: wrap;
19741976

19751977
.item {
19761978
list-style: none;

0 commit comments

Comments
 (0)