react-server675fbba4
react-servercommit4d5d2b7009c0
1 file changed+5 -0
Mdocs/src/mdx-components.jsx+5 -0
@@ -20,6 +20,11 @@export default function useMDXComponents() {
2020 </pre>
2121 );
2222 },
23+ table: (props) => (
24+ <div className="max-w-full overflow-x-auto mb-4">
25+ <table {...props} className={`${props.className ?? ""} !mb-0`} />
26+ </div>
27+ ),
2328 a: ({ children, href, ...props }) => {
2429 const lang = useLanguage();
2530 return (