From d10d1be73b794ac04939ab9d3a6efd89b97fdc43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=9F=E3=81=B5=E3=81=BF?= Date: Fri, 13 Dec 2024 09:44:00 +0900 Subject: [PATCH] =?UTF-8?q?fix(EmptyTableBody):=20=E6=96=87=E5=AD=97?= =?UTF-8?q?=E5=88=97=E3=81=8C=E4=B8=AD=E5=A4=AE=E6=8F=83=E3=81=88=E3=81=AB?= =?UTF-8?q?=E3=81=AA=E3=82=8B=E3=82=88=E3=81=86=E4=BF=AE=E6=AD=A3=20(#5186?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/smarthr-ui/src/components/Table/EmptyTableBody.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/smarthr-ui/src/components/Table/EmptyTableBody.tsx b/packages/smarthr-ui/src/components/Table/EmptyTableBody.tsx index cf0fa639f8..3d809a06bf 100644 --- a/packages/smarthr-ui/src/components/Table/EmptyTableBody.tsx +++ b/packages/smarthr-ui/src/components/Table/EmptyTableBody.tsx @@ -3,8 +3,6 @@ import React, { ComponentPropsWithRef, PropsWithChildren, useMemo } from 'react' import { tv } from 'tailwind-variants' -import { Center } from '../Layout' - import { Td } from './Td' import { useTableHeadCellCount } from './useTableHeadCellCount' @@ -19,7 +17,7 @@ type Props = PropsWithChildren<{ type ElementProps = Omit, keyof Props> const emptyTableBodyCell = tv({ - base: '', + base: 'shr-text-center', variants: { paddingBlock: { 0: 'shr-py-0', @@ -93,7 +91,7 @@ export const EmptyTableBody: React.FC = ({ children, paddi -
{children}
+ {children}