From 3723b0647f61717a249f2379b1fed1e6b4dbdbce Mon Sep 17 00:00:00 2001 From: "j.yao.SUSE" Date: Thu, 2 Apr 2020 19:18:35 +0800 Subject: [PATCH] [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 --- web_src/less/_base.less | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/web_src/less/_base.less b/web_src/less/_base.less index fcb6a41400e..b8efbe94c71 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 {