Refactor calendar UI and time range configuration

Updates time axis and calendar to focus on 6-18 hour range
Modifies CSS to support nested selectors and time range configuration
Enhances DateService to support flexible week date generation
This commit is contained in:
Janus C. H. Knudsen 2025-12-07 21:54:12 +01:00
parent e2c79c067f
commit 899c600e44
3 changed files with 83 additions and 84 deletions

View file

@ -50,8 +50,8 @@ export class DemoApp {
}
};
// Render time axis
this.timeAxisRenderer.render(document.getElementById('time-axis') as HTMLElement);
// Render time axis (06:00 - 18:00)
this.timeAxisRenderer.render(document.getElementById('time-axis') as HTMLElement, 6, 18);
// Init scroll synkronisering
this.scrollManager.init(this.container);