diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2021-10-26 20:29:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 15:29:48 +0300 |
commit | b428b0f0edd6f0c2337a70cf5c2a3b081c03d9eb (patch) | |
tree | 2dab06b7c379af0777ab3f31a9236cba94abc058 /web_src | |
parent | 812a9daab9d33a2762382ecabfd7517aaf4633d3 (diff) | |
download | gitea-b428b0f0edd6f0c2337a70cf5c2a3b081c03d9eb.tar.gz gitea-b428b0f0edd6f0c2337a70cf5c2a3b081c03d9eb.zip |
Tune UI alignment for nav bar notification icon, avatar image, issue label (#17438)
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/less/_base.less | 1 | ||||
-rw-r--r-- | web_src/less/_repository.less | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 44b02270e8..c09f3a2bdd 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -637,6 +637,7 @@ a.ui.card:hover, .fitted .svg { margin-right: 0; + vertical-align: middle; } .searchbox { diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index dff4556d7b..ccc2dcf69c 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -824,6 +824,7 @@ width: 20px; height: 20px; margin: 0 .25rem; + vertical-align: middle; } &:first-child:not(.commit) { @@ -2791,6 +2792,7 @@ .labels-list .label { margin: 2px 0; display: inline-block !important; + line-height: 1.3em; // there is a `font-size: 1.25em` for inside emoji, so here the line-height needs to be larger slightly } tbody.commit-list { |