mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
docs: improve markdown style (#38875)
This commit is contained in:
parent
c4c2ee7e32
commit
13e5451207
@ -286,8 +286,11 @@ const GlobalStyles = () => {
|
||||
}
|
||||
|
||||
.markdown .dumi-default-source-code {
|
||||
margin: 1em 0;
|
||||
background-color: ${token.siteMarkdownCodeBg};
|
||||
border-radius: ${token.borderRadius}px;
|
||||
> pre.prism-code {
|
||||
padding: 12px 20px;
|
||||
font-size: 13px;
|
||||
line-height: 2;
|
||||
}
|
||||
@ -450,7 +453,7 @@ const GlobalStyles = () => {
|
||||
|
||||
.markdown .dumi-default-table {
|
||||
table {
|
||||
margin: 2em 0;
|
||||
margin: 0;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
font-size: ${Math.max(token.fontSize - 1, 12)}px;
|
||||
|
Loading…
Reference in New Issue
Block a user