Skip to content

Commit

Permalink
fix: fixing the sticky column opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
invisal committed Apr 4, 2024
1 parent 2c38904 commit a0d8102
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/table-optimized/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import TableFakeRowPadding from "./TableFakeRowPadding";
import TableHeaderList from "./TableHeaderList";
import OptimizeTableState from "./OptimizeTableState";
import { TableColumnDataType } from "@/drivers/base-driver";
import { cn } from "@/lib/utils";

export interface OptimizeTableHeaderProps {
name: string;
Expand Down Expand Up @@ -175,7 +176,7 @@ function renderCellList({
>
{hasSticky && (
<td
className={styles.stickyColumn}
className={cn(styles.stickyColumn, "bg-background")}
onMouseDown={handleCellClicked(
absoluteRowIndex,
headersWithIndex[0].index
Expand Down

0 comments on commit a0d8102

Please sign in to comment.