summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorj.yao.SUSE <everhopingandwaiting@users.noreply.github.com>2020-04-02 19:18:35 +0800
committerGitHub <noreply@github.com>2020-04-02 14:18:35 +0300
commit3723b0647f61717a249f2379b1fed1e6b4dbdbce (patch)
tree1f9ffad29879808ce71b4fc54a9e15b0a1773661 /web_src
parent6c27f3e4e557b192747d54dd61c52aeebe6e677d (diff)
downloadgitea-3723b0647f61717a249f2379b1fed1e6b4dbdbce.tar.gz
gitea-3723b0647f61717a249f2379b1fed1e6b4dbdbce.zip
[UI] language status icon size (#10749)
* language status icon size change the repository language status icon size * Update _base.less * fix: eslint rule length-zero-no-unit * [ui] .color-icon change size ti 14px * Update web_src/less/_base.less * Update web_src/less/_base.less Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_base.less12
1 files changed, 7 insertions, 5 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index fcb6a41400..b8efbe94c7 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -1193,13 +1193,15 @@ i.icon.centerlock {
}
.color-icon {
- padding-right: .7em;
- padding-left: .5em;
margin-right: .5em;
margin-left: .5em;
- display: inline;
- border: 1px solid rgba(0, 0, 0, .2);
- border-radius: 500em;
+ display: inline-block;
+ border: 0 solid rgba(0, 0, 0, .2);
+ border-radius: 100%;
+ height: 14px;
+ width: 14px;
+ position: relative;
+ top: 2px;
}
.ui.label > .color-icon {