Skip to content

Commit

Permalink
fix(table): fix sticky column overlapped sticky header (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek authored Jul 15, 2024
1 parent c1eda5f commit e279248
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/assets/scss/components/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ $table-th-padding: 0.5em 0.75em !default;
--#{$prefix}table-background-color,
$table-background-color
);
z-index: calc(
var(--#{$prefix}table-sticky-zindex, $table-sticky-zindex) + 1
);
}
}

Expand Down Expand Up @@ -252,9 +255,7 @@ $table-th-padding: 0.5em 0.75em !default;
position: sticky;
left: 0;
top: 0;
z-index: calc(
var(--#{$prefix}table-sticky-zindex, $table-sticky-zindex) + 0
);
z-index: var(--#{$prefix}table-sticky-zindex, $table-sticky-zindex);
background: var(
--#{$prefix}table-background-color,
$table-background-color
Expand Down

0 comments on commit e279248

Please sign in to comment.