테이블 및 굵은영역 뒷쪽에 글자보이는 문제해결

This commit is contained in:
Your Name
2025-07-25 14:03:52 +09:00
parent 84ff24c5b5
commit 59bccfe1d6
2 changed files with 3 additions and 3 deletions
@@ -122,8 +122,8 @@ export function UiTable({
: cellClick
? "cursor-pointer"
: ""
} sticky z-40 bg-secondary !font-bold`}
style={{ top: `${headerHeight + index * 39}px` }}
} sticky top-20 z-40 bg-secondary !font-bold`}
style={{ top: `${headerHeight + index * 32-4}px` }}
onClick={() => handleCellClick(index, head.id)}
key={`cell-${head.id}-${index}`}
>
@@ -31,7 +31,7 @@ const TableHeader = React.forwardRef<
>(({ className, ...props }, ref) => (
<thead
ref={ref}
className={cn("sticky top-0 z-10 bg-secondary [&_tr]:border-b", className)}
className={cn("sticky -top-2 z-10 bg-secondary [&_tr]:border-b", className)}
{...props}
/>
));