테이블 리스트 간격설정

This commit is contained in:
kjs
2025-11-04 17:48:22 +09:00
parent 10c7c9a0b1
commit f4fd1184cd
4 changed files with 43 additions and 2 deletions

View File

@@ -1169,7 +1169,7 @@ export const TableListComponent: React.FC<TableListComponentProps> = ({
</div>
)}
<div className="mt-10" style={{ flex: 1, overflow: "hidden" }}>
<div style={{ marginTop: `${tableConfig.filter?.bottomSpacing ?? 40}px`, flex: 1, overflow: "hidden" }}>
<SingleTableWithSticky
data={data}
columns={visibleColumns}
@@ -1263,7 +1263,10 @@ export const TableListComponent: React.FC<TableListComponentProps> = ({
)}
{/* 테이블 컨테이너 */}
<div className="flex-1 flex flex-col overflow-hidden w-full max-w-full mt-10">
<div
className="flex-1 flex flex-col overflow-hidden w-full max-w-full"
style={{ marginTop: `${tableConfig.filter?.bottomSpacing ?? 40}px` }}
>
{/* 스크롤 영역 */}
<div
className="w-full max-w-full h-[400px] overflow-y-scroll overflow-x-auto bg-background sm:h-[500px]"