Skip to content

Commit 3723b06

Browse files
[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 <[email protected]>
1 parent 6c27f3e commit 3723b06

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

web_src/less/_base.less

+7-5
Original file line numberDiff line numberDiff line change
@@ -1193,13 +1193,15 @@ i.icon.centerlock {
11931193
}
11941194

11951195
.color-icon {
1196-
padding-right: .7em;
1197-
padding-left: .5em;
11981196
margin-right: .5em;
11991197
margin-left: .5em;
1200-
display: inline;
1201-
border: 1px solid rgba(0, 0, 0, .2);
1202-
border-radius: 500em;
1198+
display: inline-block;
1199+
border: 0 solid rgba(0, 0, 0, .2);
1200+
border-radius: 100%;
1201+
height: 14px;
1202+
width: 14px;
1203+
position: relative;
1204+
top: 2px;
12031205
}
12041206

12051207
.ui.label > .color-icon {

0 commit comments

Comments
 (0)