fixes commit that shrank table padding for smaller screens
This commit is contained in:
parent
f1db6f2de8
commit
397595e501
|
@ -31,7 +31,7 @@ export const Th = ({
|
|||
id?: string
|
||||
}) => (
|
||||
<th
|
||||
className={`px-6 py-3 text-xs font-normal text-th-fgd-3 ${className}`}
|
||||
className={`px-2 py-3 text-xs font-normal text-th-fgd-3 first:pl-4 last:pr-4 xl:px-4 ${className}`}
|
||||
id={id}
|
||||
scope="col"
|
||||
>
|
||||
|
@ -48,7 +48,7 @@ export const TrBody = ({
|
|||
className?: string
|
||||
onClick?: () => void
|
||||
}) => (
|
||||
<tr className={`border-y border-th-bkg-3 p-2 ${className}`} onClick={onClick}>
|
||||
<tr className={`border-y border-th-bkg-3 ${className}`} onClick={onClick}>
|
||||
{children}
|
||||
</tr>
|
||||
)
|
||||
|
@ -59,7 +59,11 @@ export const Td = ({
|
|||
}: {
|
||||
children: ReactNode
|
||||
className?: string
|
||||
}) => <td className={`px-2 py-3 xl:px-4 ${className}`}>{children}</td>
|
||||
}) => (
|
||||
<td className={`px-2 py-3 first:pl-4 last:pr-4 xl:px-4 ${className}`}>
|
||||
{children}
|
||||
</td>
|
||||
)
|
||||
|
||||
export const TableDateDisplay = ({
|
||||
date,
|
||||
|
|
Loading…
Reference in New Issue