1
0
Fork 0
mirror of synced 2024-08-17 02:51:55 +12:00

Move table overflow layer to fix sticky header not working

This commit is contained in:
Andrew Kingston 2022-02-18 14:40:08 +00:00
parent 5e98b01d4e
commit 84a475764e

View file

@ -315,7 +315,6 @@
.wrapper {
position: relative;
z-index: 0;
overflow: auto;
--table-bg: var(--spectrum-global-color-gray-50);
--table-border: 1px solid var(--spectrum-alias-border-color-mid);
--cell-padding: 20px;
@ -343,11 +342,11 @@
width: 100%;
border-radius: 0;
display: grid;
overflow: auto;
}
/* Header */
.spectrum-Table-headCell {
vertical-align: middle;
height: var(--header-height);
position: sticky;
top: 0;