mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 17:09:46 +08:00
docs: improve sourcecode styles (#38675)
This commit is contained in:
parent
f9b452017b
commit
7e6d6e3f38
@ -287,6 +287,10 @@ const GlobalStyles = () => {
|
||||
|
||||
.markdown .dumi-default-source-code {
|
||||
background-color: ${token.siteMarkdownCodeBg};
|
||||
> pre.prism-code {
|
||||
font-size: 13px;
|
||||
line-height: 2;
|
||||
}
|
||||
}
|
||||
|
||||
.markdown .dumi-default-table-content > table,
|
||||
@ -751,6 +755,7 @@ const GlobalStyles = () => {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.markdown {
|
||||
.token.property,
|
||||
.token.tag,
|
||||
.token.boolean,
|
||||
@ -806,6 +811,7 @@ const GlobalStyles = () => {
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
||||
}
|
||||
`}
|
||||
/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user