Skip to content
Snippets Groups Projects

feat(GlTable): Add option for sticky table headers

Merged Sascha Eggenberger requested to merge table-add-sticky-header-option into main
All threads resolved!
7 files
+ 110
7
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -27,9 +27,18 @@ table.gl-table {
@@ -27,9 +27,18 @@ table.gl-table {
@include gl-focus;
@include gl-focus;
position: relative;
position: relative;
z-index: 1;
z-index: 1;
 
@include gl-bg-white;
}
}
}
}
 
// Sticky header
 
&--sticky-header thead {
 
@include gl-sticky;
 
top: -1px;
 
@include gl-bg-white;
 
box-shadow: inset 0 -1px 0 $gray-100;
 
}
 
.table-primary,
.table-primary,
.table-primary:hover {
.table-primary:hover {
> td {
> td {
Loading