mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-29 18:50:00 +08:00
site: fix different font-size between jsx demo and tsx demo (#48448)
This commit is contained in:
parent
bfa23e16a0
commit
d1a8376e09
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user