mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 20:40:15 +02:00
Adjust sticky header to align with sidebar
This commit is contained in:
@@ -6,7 +6,7 @@ export const useFixedTableHeader = () => {
|
||||
const tableContainerRef = useRef<HTMLDivElement | null>(null);
|
||||
|
||||
const isNotPastTableIntersection = useInView(intersectRef, {
|
||||
margin: '-64px 0px 0px 0px',
|
||||
margin: '-63px 0px 0px 0px',
|
||||
});
|
||||
|
||||
const tableInView = useInView(tableContainerRef, {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.ag-header-fixed {
|
||||
position: fixed !important;
|
||||
top: 61px;
|
||||
top: 60px;
|
||||
z-index: 15;
|
||||
background: var(--table-header-bg) !important;
|
||||
margin: 0 -2rem;
|
||||
|
||||
Reference in New Issue
Block a user