Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit c2ca98e

Browse files
committed
fix transparent sticky first column
1 parent f759628 commit c2ca98e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/helpers/StylesHelper.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ export function getAlignmentClassname(configColumn: ConfigColumn, localSettings:
5050
COLUMN_ALIGNMENT_OPTIONS.LEFT :
5151
configColumn.content_alignment
5252
);
53-
console.log(localSettings.cell_size);
5453
classes.push(
5554
(configColumn.wrap_content && localSettings.cell_size !== CellSizeOptions.COMPACT) ?
5655
COLUMN_ALIGNMENT_OPTIONS.WRAP :

styles.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,15 +376,21 @@ div.database-plugin__checkbox {
376376
padding: 0.6rem;
377377
}
378378

379-
.database-plugin__sticky_first_column .database-plugin__td:nth-child(2),
380-
.database-plugin__sticky_first_column .database-plugin__th:nth-child(2),
381379
.database-plugin__table .database-plugin__td:first-child,
382380
.database-plugin__table .database-plugin__th:first-child {
383381
position: sticky;
384382
left: 0;
385383
z-index: 1;
386384
}
387385

386+
.database-plugin__sticky_first_column .database-plugin__td:nth-child(2),
387+
.database-plugin__sticky_first_column .database-plugin__th:nth-child(2) {
388+
position: sticky;
389+
z-index: 2;
390+
left: 30px;
391+
background-color: var(--background-secondary);
392+
}
393+
388394
.database-plugin__table {
389395
position: relative;
390396
top: 2.65rem;

0 commit comments

Comments
 (0)