Skip to content

Commit

Permalink
fix(theme-default): align the font of line numbers with code blocks (c…
Browse files Browse the repository at this point in the history
…lose #124) (#125)

Co-authored-by: meteorlxy <meteor.lxy@foxmail.com>
  • Loading branch information
KnorpelSenf and meteorlxy authored Apr 30, 2021
1 parent 83c9aae commit a3ea87d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/@vuepress/theme-default/src/client/styles/code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@ pre[class*='language-'] {
}

.line-number {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}
}

Expand Down

0 comments on commit a3ea87d

Please sign in to comment.