Skip to content

Commit 3589ba8

Browse files
committed
feat(tpl): update font related style
1 parent 0fb4934 commit 3589ba8

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/tpl/assert/main.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ html {
1111
body {
1212
color: #333;
1313
font-size: 0.625em;
14-
font-family: Consolas, Monaco, "Andale Mono", "DejaVu Sans Mono", monospace;
14+
font-family: Consolas, "Lucida Console", "San Francisco Mono", Menlo, Monaco, "Andale Mono", "DejaVu Sans Mono", monospace;
15+
font-variant-ligatures: none;
16+
font-kerning: none;
17+
hyphens: none;
1518
}
1619

1720
ul, ol, li {
@@ -181,6 +184,7 @@ em {
181184
flex-flow: row nowrap;
182185
align-items: center;
183186
border-bottom: 1px #f5f5f5 solid;
187+
overflow: hidden;
184188
zoom: 1;
185189
}
186190

src/tpl/assert/main.css.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ font-family: "roboto_condensedbold", "Helvetica Neue", Helvetica, Arial, sans-se
1212
body {
1313
color: #333;
1414
font-size: 0.625em;
15-
font-family: Consolas, Monaco, "Andale Mono", "DejaVu Sans Mono", monospace;
15+
font-family: Consolas, "Lucida Console", "San Francisco Mono", Menlo, Monaco, "Andale Mono", "DejaVu Sans Mono", monospace;
16+
font-variant-ligatures: none;
17+
font-kerning: none;
18+
hyphens: none;
1619
}
1720
ul, ol, li {
1821
display: block;
@@ -157,6 +160,7 @@ display: flex;
157160
flex-flow: row nowrap;
158161
align-items: center;
159162
border-bottom: 1px #f5f5f5 solid;
163+
overflow: hidden;
160164
zoom: 1;
161165
}
162166
.item-list span {

0 commit comments

Comments
 (0)