docs: fix markdown table margin (#39683)

This commit is contained in:
afc163 2022-12-21 10:20:38 +08:00 committed by GitHub
parent d93bca1c44
commit a692dc101c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -265,7 +265,6 @@ export default () => {
.markdown .dumi-default-table {
table {
margin: 0;
margin: 8px 0 16px;
overflow-x: auto;
overflow-y: hidden;
direction: ltr;
@ -311,7 +310,7 @@ export default () => {
}
table.component-api-table {
margin: 2em 0;
margin: 0;
overflow-x: auto;
overflow-y: hidden;
font-size: ${Math.max(token.fontSize - 1, 12)}px;