4d5d2b7009c0docs/src/mdx-components.jsx+5 -0@@ -20,6 +20,11 @@export default function useMDXComponents() {
| 20 | 20 | </pre> | |
| 21 | 21 | ); | |
| 22 | 22 | }, | |
| 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 | + | ), | |
| 23 | 28 | a: ({ children, href, ...props }) => { | |
| 24 | 29 | const lang = useLanguage(); | |
| 25 | 30 | return ( |