site: fix different font-size between jsx demo and tsx demo (#48448)

This commit is contained in:
lijianan 2024-04-15 10:27:51 +08:00 committed by GitHub
parent bfa23e16a0
commit d1a8376e09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}