Skip to content

Commit 7e4a774

Browse files
LightLight
authored andcommitted
fix(index): 修正主页导航菜单文本未对齐的问题
1 parent 2df2aca commit 7e4a774

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/css/xenon-core.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1842,8 +1842,12 @@ body {
18421842
}
18431843

18441844
.sidebar-menu .main-menu a > i {
1845-
display: inline-block;
18461845
margin-right: 10px;
1846+
width: 16px;
1847+
height: 16px;
1848+
text-align: center;
1849+
display: inline-flex;
1850+
justify-content: center;
18471851
}
18481852

18491853
.sidebar-menu .main-menu a > i + span {

0 commit comments

Comments
 (0)