From ff2a069b79f1c2f03c98e99d86741971ce9fc214 Mon Sep 17 00:00:00 2001 From: kjs Date: Thu, 6 Nov 2025 11:53:59 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=85=8C=EC=9D=B4=EB=B8=94=20=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A1=A4=20=EB=B0=8F=20=ED=95=98=EB=8B=A8=20?= =?UTF-8?q?=EA=B3=B5=EA=B0=84=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문제: - 고정 높이 (h-[400px] sm:h-[500px])로 인해 데이터가 적어도 큰 공간 차지 - 하단에 빈 공간이 남는데도 스크롤이 생기는 비효율적인 UX - overflow-y-scroll이 항상 스크롤바를 표시함 해결: - 고정 높이 제거 → flex-1 (부모의 남은 공간 차지) - overflow-y-scroll → overflow-y-auto (필요할 때만 스크롤) - 데이터 양에 따라 자동으로 높이 조정 개선 사항: ✅ 데이터가 적을 때: 불필요한 공간 없이 컴팩트하게 표시 ✅ 데이터가 많을 때: 자동으로 스크롤 생성 ✅ 반응형 레이아웃에 자연스럽게 적응 ✅ 스크롤바가 필요할 때만 표시되어 깔끔한 UI --- .../lib/registry/components/table-list/TableListComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/lib/registry/components/table-list/TableListComponent.tsx b/frontend/lib/registry/components/table-list/TableListComponent.tsx index 3d937940..f88ebba1 100644 --- a/frontend/lib/registry/components/table-list/TableListComponent.tsx +++ b/frontend/lib/registry/components/table-list/TableListComponent.tsx @@ -1579,7 +1579,7 @@ export const TableListComponent: React.FC = ({ > {/* 스크롤 영역 */}
{/* 테이블 */}