테이블 상단 여백 제거

This commit is contained in:
kjs 2025-12-01 11:20:06 +09:00
parent a3d3db5437
commit 93b92960e7
1 changed files with 2 additions and 3 deletions

View File

@ -2354,7 +2354,7 @@ export const TableListComponent: React.FC<TableListComponentProps> = ({
</div> </div>
)} )}
<div style={{ marginTop: `${tableConfig.filter?.bottomSpacing ?? 8}px`, flex: 1, overflow: "hidden" }}> <div style={{ flex: 1, overflow: "hidden" }}>
<SingleTableWithSticky <SingleTableWithSticky
data={data} data={data}
columns={visibleColumns} columns={visibleColumns}
@ -2421,7 +2421,6 @@ export const TableListComponent: React.FC<TableListComponentProps> = ({
<div <div
className="flex flex-1 flex-col" className="flex flex-1 flex-col"
style={{ style={{
marginTop: `${tableConfig.filter?.bottomSpacing ?? 8}px`,
width: "100%", width: "100%",
height: "100%", height: "100%",
overflow: "hidden", overflow: "hidden",
@ -2451,7 +2450,7 @@ export const TableListComponent: React.FC<TableListComponentProps> = ({
className="sticky z-50" className="sticky z-50"
style={{ style={{
position: "sticky", position: "sticky",
top: "-2px", top: 0,
zIndex: 50, zIndex: 50,
backgroundColor: "hsl(var(--background))", backgroundColor: "hsl(var(--background))",
}} }}