mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +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 {
|
.markdown .dumi-default-source-code {
|
||||||
background-color: ${token.siteMarkdownCodeBg};
|
background-color: ${token.siteMarkdownCodeBg};
|
||||||
|
> pre.prism-code {
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown .dumi-default-table-content > table,
|
.markdown .dumi-default-table-content > table,
|
||||||
@ -751,6 +755,7 @@ const GlobalStyles = () => {
|
|||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown {
|
||||||
.token.property,
|
.token.property,
|
||||||
.token.tag,
|
.token.tag,
|
||||||
.token.boolean,
|
.token.boolean,
|
||||||
@ -806,6 +811,7 @@ const GlobalStyles = () => {
|
|||||||
.token.entity {
|
.token.entity {
|
||||||
cursor: help;
|
cursor: help;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
`}
|
`}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user