Skip to content

Commit

Permalink
site: fix different font-size between jsx demo and tsx demo (#48448)
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan committed Apr 15, 2024
1 parent bfa23e1 commit d1a8376
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .dumi/theme/common/LiveCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const useStyle = createStyles(({ token, css }) => {
.dumi-default-source-code > pre,
.dumi-default-source-code-scroll-content > pre {
font-size: 13px;
font-size: ${token.fontSize}px;
line-height: 2;
font-family: 'Lucida Console', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}
Expand Down
2 changes: 1 addition & 1 deletion components/grid/demo/playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ A simple playground for column count and gutter.
}
#components-grid-demo-playground pre {
padding: 8px 16px;
font-size: 13px;
font-size: 14px;
background: #f9f9f9;
border-radius: 6px;
}
Expand Down

0 comments on commit d1a8376

Please sign in to comment.