From 5376d7198d5676fbb252f37f29a3d4a5fa3af229 Mon Sep 17 00:00:00 2001 From: kjs Date: Mon, 3 Nov 2025 12:28:30 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=B2=B4=ED=81=AC=EB=B0=95=EC=8A=A4=20?= =?UTF-8?q?=EC=BB=AC=EB=9F=BC=20=ED=8C=A8=EB=94=A9=20=EC=A0=9C=EA=B1=B0=20?= =?UTF-8?q?=EB=B0=8F=20=EC=A4=91=EC=95=99=20=EC=A0=95=EB=A0=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 체크박스 컬럼에서 px 패딩 제거 (px-0) - 체크박스 컬럼 중앙 정렬 (textAlign: center) - 일반 컬럼은 기존 패딩 유지 - 체크박스와 다른 컬럼의 시각적 구분 명확화 - 불필요한 공간 제거로 깔끔한 UI --- .../components/table-list/TableListComponent.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/lib/registry/components/table-list/TableListComponent.tsx b/frontend/lib/registry/components/table-list/TableListComponent.tsx index dccbce67..780b4c4d 100644 --- a/frontend/lib/registry/components/table-list/TableListComponent.tsx +++ b/frontend/lib/registry/components/table-list/TableListComponent.tsx @@ -1062,11 +1062,12 @@ export const TableListComponent: React.FC = ({ key={column.columnName} ref={(el) => (columnRefs.current[column.columnName] = el)} className={cn( - "relative h-10 px-2 py-2 text-xs font-semibold text-foreground overflow-hidden text-ellipsis bg-background select-none sm:h-12 sm:px-6 sm:py-3 sm:text-sm sm:whitespace-nowrap", + "relative h-10 text-xs font-semibold text-foreground overflow-hidden text-ellipsis bg-background select-none sm:h-12 sm:text-sm sm:whitespace-nowrap", + column.columnName === "__checkbox__" ? "px-0 py-2" : "px-2 py-2 sm:px-6 sm:py-3", column.sortable && "cursor-pointer" )} style={{ - textAlign: column.align || "left", + textAlign: column.columnName === "__checkbox__" ? "center" : (column.align || "left"), width: column.columnName === "__checkbox__" ? '48px' : (columnWidth ? `${columnWidth}px` : undefined), minWidth: column.columnName === "__checkbox__" ? '48px' : undefined, maxWidth: column.columnName === "__checkbox__" ? '48px' : undefined, @@ -1194,10 +1195,11 @@ export const TableListComponent: React.FC = ({