Skip to content

Commit 0949806

Browse files
committed
🐛 FIX: Table overflow in docs
1 parent f2c7134 commit 0949806

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

apps/baseai.dev/src/components/mdx/index.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ export const MarkdownComponents = () => {
5959
},
6060
table: (props: any) => {
6161
return (
62-
<table
63-
className="overflow-x-auto whitespace-nowrap"
64-
{...props}
65-
/>
62+
<div className='overflow-x-scroll'>
63+
<table
64+
className="whitespace-nowrap"
65+
{...props}
66+
/>
67+
</div>
6668
);
6769
},
6870
h2: (props: any) => {

0 commit comments

Comments
 (0)