Make entire <thead /> sticky

This commit is contained in:
Jiang Yio 2024-03-24 06:25:19 -05:00
parent 38e34e099a
commit 12c075ef60

View File

@ -325,9 +325,9 @@
white-space: nowrap; white-space: nowrap;
text-align: center; text-align: center;
} }
table.table-sticky thead th { table.table-sticky thead {
position: sticky; position: sticky;
z-index: 1010; z-index: 1020;
top: 0; top: 0;
background-color: #fff; background-color: #fff;
} }
@ -339,7 +339,6 @@
} }
table.table-sticky thead th.corner { table.table-sticky thead th.corner {
padding: 0; padding: 0;
z-index: 1020;
} }
.navbar { .navbar {
position: sticky; position: sticky;