@codecademy/gamut
72.2.472.2.5-alpha.212edd.0
dist/List/TableHeader.js~
dist/List/TableHeader.jsModified+2−1
Index: package/dist/List/TableHeader.js
===================================================================
--- package/dist/List/TableHeader.js
+++ package/dist/List/TableHeader.js
@@ -1,4 +1,5 @@
+import { zIndices } from '@codecademy/gamut-styles';
import { forwardRef } from 'react';
import { Box } from '../Box';
import { HeaderRowEl } from './elements';
import { useListContext } from './ListProvider';
@@ -16,9 +17,9 @@
as: "thead",
display: "block",
position: "sticky",
top: 0,
- zIndex: 2,
+ zIndex: zIndices.foreground,
children: /*#__PURE__*/_jsx(HeaderRowEl, {
...rest,
ref: ref,
scrollable: scrollable,