wip
This commit is contained in:
parent
32894cca82
commit
e20e23651c
1 changed files with 3 additions and 4 deletions
|
|
@ -200,6 +200,9 @@ export class NavigationManager {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reset all-day height BEFORE creating new grid to ensure base height
|
||||||
|
const root = document.documentElement;
|
||||||
|
root.style.setProperty('--all-day-row-height', '0px');
|
||||||
|
|
||||||
let newGrid: HTMLElement;
|
let newGrid: HTMLElement;
|
||||||
|
|
||||||
|
|
@ -243,10 +246,6 @@ export class NavigationManager {
|
||||||
newGrid.style.position = 'relative';
|
newGrid.style.position = 'relative';
|
||||||
newGrid.removeAttribute('data-prerendered');
|
newGrid.removeAttribute('data-prerendered');
|
||||||
|
|
||||||
// Reset all-day height and remove hardcoded header height after slide animation
|
|
||||||
const root = document.documentElement;
|
|
||||||
root.style.setProperty('--all-day-row-height', '0px');
|
|
||||||
|
|
||||||
// Update state
|
// Update state
|
||||||
this.currentWeek = new Date(targetWeek);
|
this.currentWeek = new Date(targetWeek);
|
||||||
this.animationQueue--;
|
this.animationQueue--;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue