Skip to content

Commit 35069d4

Browse files
committed
fix: table scroll-x
1 parent 2bfae38 commit 35069d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mdx-components.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function useMDXComponents(components: MDXComponents): MDXComponents {
4444
);
4545
},
4646
table: (props: JSX.IntrinsicElements["table"]) => (
47-
<TableContainer sx={{ marginBlock: 4 }}>
47+
<TableContainer sx={{ marginBlock: 4, width: 'auto' }}>
4848
<Table {...props} />
4949
</TableContainer>
5050
),

0 commit comments

Comments
 (0)