diff --git a/docs/theme/components/Table.styles.ts b/docs/theme/components/Table.styles.ts index 3d289cbbee..9e33dfdd5c 100644 --- a/docs/theme/components/Table.styles.ts +++ b/docs/theme/components/Table.styles.ts @@ -1,8 +1,8 @@ import { ThemeComponent, cva } from '@marigold/system'; export const Table: ThemeComponent<'Table'> = { - table: cva('w-full overflow-auto text-sm'), - cell: cva(' mt-4 hyphens-auto px-1 py-2 text-sm'), - header: cva('border-b px-1 py-2 text-start'), + table: cva('table w-full text-sm'), + cell: cva(' mt-4 hyphens-auto px-4 py-2 text-sm'), + header: cva('border-b px-4 py-2 text-start'), row: cva('hover:bg-bg-hover/50 border-b'), }; diff --git a/docs/ui/AppearanceTable.tsx b/docs/ui/AppearanceTable.tsx index 7ebae79adc..5173c40699 100644 --- a/docs/ui/AppearanceTable.tsx +++ b/docs/ui/AppearanceTable.tsx @@ -52,37 +52,47 @@ export const AppearanceTable = ({ component }: AppearanceTableProps) => { ) : ( - - - Property - Type - Description - - - - - variant - - - - {appearances.variant ? appearances.variant.join(' | ') : '-'} - - - The available variants of this component. - - - - size - - - - {appearances.size ? appearances.size.join(' | ') : '-'} - - - The available sizes of this component. - - -
+
+ + + Property + Type + Description + + + + + + variant + + + + + {appearances.variant + ? appearances.variant.join(' | ') + : '-'} + + + + The available variants of this component. + + + + + + size + + + + + {appearances.size ? appearances.size.join(' | ') : '-'} + + + The available sizes of this component. + + +
+
)} ); diff --git a/docs/ui/PropsTable.tsx b/docs/ui/PropsTable.tsx index e60e90eb7d..640102c23b 100644 --- a/docs/ui/PropsTable.tsx +++ b/docs/ui/PropsTable.tsx @@ -15,30 +15,38 @@ export const PropsTable = ({ props }: PropsTableProps) => { Sorry! There are currently no props available. ) : ( - - - Property - Type - Default - Description - - - {item => ( - - - {item.property} - - - {item.type} - - - {item.default} - - {item.description} - - )} - -
+
+ + + Property + Type + Default + Description + + + {item => ( + + + + {item.property} + + + + + {item.type} + + + + + {item.default ? item.default : '-'} + + + {item.description} + + )} + +
+
)} ); diff --git a/docs/ui/mdx.tsx b/docs/ui/mdx.tsx index 16e6db93cc..2c07f6a894 100644 --- a/docs/ui/mdx.tsx +++ b/docs/ui/mdx.tsx @@ -38,7 +38,10 @@ const typography = {
), code: (props: HTMLAttributes) => ( - + ), hr: ({ ...props }: HTMLAttributes) => (