테이블 상단 여백 제거
This commit is contained in:
@@ -2354,7 +2354,7 @@ export const TableListComponent: React.FC<TableListComponentProps> = ({
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div style={{ marginTop: `${tableConfig.filter?.bottomSpacing ?? 8}px`, flex: 1, overflow: "hidden" }}>
|
||||
<div style={{ flex: 1, overflow: "hidden" }}>
|
||||
<SingleTableWithSticky
|
||||
data={data}
|
||||
columns={visibleColumns}
|
||||
@@ -2421,7 +2421,6 @@ export const TableListComponent: React.FC<TableListComponentProps> = ({
|
||||
<div
|
||||
className="flex flex-1 flex-col"
|
||||
style={{
|
||||
marginTop: `${tableConfig.filter?.bottomSpacing ?? 8}px`,
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
overflow: "hidden",
|
||||
@@ -2451,7 +2450,7 @@ export const TableListComponent: React.FC<TableListComponentProps> = ({
|
||||
className="sticky z-50"
|
||||
style={{
|
||||
position: "sticky",
|
||||
top: "-2px",
|
||||
top: 0,
|
||||
zIndex: 50,
|
||||
backgroundColor: "hsl(var(--background))",
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user