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

Commit 5ffcc33

Browse files
committed
arreglando solapamiento
1 parent 16dbb03 commit 5ffcc33

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

src/components/NavBar.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,16 @@ export function HeaderNavBar(headerNavBarProps: NavBarProps) {
9696
const { table } = headerNavBarProps;
9797
return (
9898
<div
99-
key="div-navbar-header-row"
100-
className={`${c("tr")}`}
99+
key={`div-navbar-header-row`}
100+
className={`${c("tr sticky-level-1")}`}
101101
style={{
102102
width: table.getCenterTotalSize(),
103103
}}
104104
>
105-
<div className={`${c("th navbar")}`} key="div-navbar-header-cell">
105+
<div
106+
className={`${c("th navbar sticky-level-1")}`}
107+
key="div-navbar-header-cell"
108+
>
106109
<NavBar {...headerNavBarProps} />
107110
</div>
108111
</div>

src/components/Table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ export function Table(tableData: TableDataType) {
268268
<>
269269
<div
270270
key={`div-table-navbar`}
271-
className={`${c("table sticky-level-1 sticky_first_column")}`}
271+
className={`${c("table sticky-level-1")}`}
272272
style={{
273273
width: table.getCenterTotalSize(),
274274
}}

styles.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ div.database-plugin__checkbox {
288288
cursor: pointer;
289289
position: sticky;
290290
bottom: 0;
291+
z-index: 3;
291292
background-color: var(--background-primary);
292293
}
293294

@@ -365,9 +366,7 @@ div.database-plugin__checkbox {
365366
}
366367

367368
.database-plugin__sticky_first_column .database-plugin__td:first-child,
368-
.database-plugin__sticky_first_column .database-plugin__th:first-child,
369-
.database-plugin__sticky-level-1 .database-plugin__tr:first-child,
370-
.database-plugin__sticky-level-1 .database-plugin__th:first-child {
369+
.database-plugin__sticky_first_column .database-plugin__th:first-child {
371370
position: sticky;
372371
left: 0;
373372
z-index: 1;
@@ -406,6 +405,7 @@ div.database-plugin__checkbox {
406405
.database-plugin__sticky-level-1 {
407406
position: sticky;
408407
top: 0;
408+
left: 0;
409409
z-index: 2;
410410
}
411411
.database-plugin__sticky-level-2 {

0 commit comments

Comments
 (0)