mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 04:20:07 +02:00
Improve semantic html of default layout and add ids
This commit is contained in:
@@ -14,8 +14,8 @@ export const useFixedTableHeader = () => {
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
const header = document.querySelector('.ag-header');
|
||||
const root = document.querySelector('.ag-root');
|
||||
const header = document.querySelector('main .ag-header');
|
||||
const root = document.querySelector('main .ag-root');
|
||||
|
||||
if (isNotPastTableIntersection || !tableInView) {
|
||||
header?.classList.remove('ag-header-fixed');
|
||||
|
||||
Reference in New Issue
Block a user