Skip to content

Commit 7905bfd

Browse files
committed
feat(tpl): use fixed line height
The default CSS `line-height: normal` may cause line-height be different depends on the rendered font, normally caused by mixed characters in different language.
1 parent b048d8f commit 7905bfd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tpl/frontend/index.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ html.dragging::before {
117117

118118
.path-list {
119119
font-size: 1.5em;
120+
line-height: 1.2;
120121
overflow: hidden;
121122
border-bottom: 1px #999 solid;
122123
zoom: 1;
@@ -402,6 +403,7 @@ html.dragging::before {
402403

403404
.item-list {
404405
margin: 1em;
406+
line-height: 1.2;
405407
}
406408

407409
.item-list li {

0 commit comments

Comments
 (0)