mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Improve semantic html of default layout and add ids
This commit is contained in:
parent
3cf7127f56
commit
f7b8e34905
3 changed files with 126 additions and 125 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue