Remove the seam between the header row and the filter row
Both sticky rows kept their own border-bottom (inherited from the base th rule), which read as a thin visible gap between them. The header row no longer draws one - the filter row's own border is the single line that should separate the whole sticky header block from the scrolling data beneath it.
This commit is contained in:
parent
94864273c8
commit
16da683551
|
|
@ -376,8 +376,15 @@ tr.editing td{ background:rgba(37,99,235,.03); }
|
|||
not the "header disappears" bug it looked like. Giving the header row
|
||||
an explicit height makes the filter row's own offset (stacking
|
||||
directly beneath it) a known value instead of a guess. */
|
||||
/* border-bottom:none here - each sticky th otherwise keeps its own
|
||||
border-bottom (inherited from the base th rule), which reads as a
|
||||
thin seam between the header row and the filter row right beneath
|
||||
it. The one border that should actually show is the filter row's
|
||||
own (still inherited, unset below) - it separates the whole sticky
|
||||
header block from the scrolling data, not the two header rows from
|
||||
each other. */
|
||||
.txn-col table thead tr:first-child th{
|
||||
position:sticky; top:0; height:34px; background:var(--navy-2); z-index:2;
|
||||
position:sticky; top:0; height:34px; background:var(--navy-2); z-index:2; border-bottom:none;
|
||||
}
|
||||
.txn-col table thead tr.filter-row th{
|
||||
position:sticky; top:34px; background:var(--navy-2); z-index:1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue