diff options
author | Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> | 2020-06-15 09:37:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-15 03:37:00 -0400 |
commit | 5f47835f4cc2d6c2305830cf1052150633d05797 (patch) | |
tree | fc2cac259d8aa690cd623c6f6a73f3d8b8901ea3 /web_src | |
parent | d1c547468ad1634a6205ad033db9687d81973ea0 (diff) | |
download | gitea-5f47835f4cc2d6c2305830cf1052150633d05797.tar.gz gitea-5f47835f4cc2d6c2305830cf1052150633d05797.zip |
Better align items using flex within review request box (#11879)
* Better align items using flex within review request box
* use justify-content
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/less/_repository.less | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 0687347efd..69568c8584 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -657,14 +657,18 @@ } .review-item { + display: flex; + justify-content: space-between; + align-items: center; + + .review-item-left, + .review-item-right { + display: flex; + align-items: center; + } .avatar, .type-icon { - float: none; - display: inline-block; - text-align: center; - vertical-align: middle; - .svg { width: 23px; height: 23px; @@ -676,8 +680,12 @@ } .type-icon { - float: right; + align-self: flex-start; margin-right: 1em; + + i { + line-height: 1.8em; + } } .divider { |