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;
|
||||
}
|
||||
|
||||
// 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;
|
||||
|
||||
|
|
@ -243,10 +246,6 @@ export class NavigationManager {
|
|||
newGrid.style.position = 'relative';
|
||||
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
|
||||
this.currentWeek = new Date(targetWeek);
|
||||
this.animationQueue--;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue