diff options
author | Antoine GIRARD <sapk@users.noreply.github.com> | 2019-07-29 08:14:56 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-07-29 14:14:55 +0800 |
commit | ed3d124552d0df2c364c4aaaab88f54c42167286 (patch) | |
tree | ba5f277a6604be310b55d4e1e3d181989190ca5e | |
parent | 23e8cff08cf4e7012f8fb640df8b1ee26a239a8d (diff) | |
download | gitea-ed3d124552d0df2c364c4aaaab88f54c42167286.tar.gz gitea-ed3d124552d0df2c364c4aaaab88f54c42167286.zip |
css: use flex to fix floating paginate (#7656)
-rw-r--r-- | public/css/index.css | 2 | ||||
-rw-r--r-- | public/less/_repository.less | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/public/css/index.css b/public/css/index.css index 68236a6de9..2eef059223 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -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: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} diff --git a/public/less/_repository.less b/public/less/_repository.less index 21aeea81e7..8d2ca07d93 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -1971,6 +1971,8 @@ &.user-cards { .list { padding: 0; + display: flex; + flex-wrap: wrap; .item { list-style: none; |