0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00

css: use flex to fix floating paginate (#7656)

This commit is contained in:
Antoine GIRARD 2019-07-29 08:14:56 +02:00 committed by Lunny Xiao
parent 23e8cff08c
commit ed3d124552
2 changed files with 3 additions and 1 deletions

View file

@ -756,7 +756,7 @@ footer .ui.left,footer .ui.right{line-height:40px}
.repository .segment.reactions .select-reaction{float:none} .repository .segment.reactions .select-reaction{float:none}
.repository .segment.reactions .select-reaction:not(.active) a{display:none} .repository .segment.reactions .select-reaction:not(.active) a{display:none}
.repository .segment.reactions:hover .select-reaction a{display:block} .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{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 .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} .user-cards .list .item .name{margin-top:0;margin-bottom:0;font-weight:400}

View file

@ -1971,6 +1971,8 @@
&.user-cards { &.user-cards {
.list { .list {
padding: 0; padding: 0;
display: flex;
flex-wrap: wrap;
.item { .item {
list-style: none; list-style: none;