Adds dynamic CSS grid column management
Updates ConfigManager to dynamically set CSS grid columns based on work week settings Ensures the grid layout accurately reflects the number of visible days in the calendar view Automatically updates grid columns when work week configuration changes Improves responsive design and layout flexibility
This commit is contained in:
parent
989c9bd69d
commit
d3f4667b61
3 changed files with 18 additions and 3 deletions
|
|
@ -115,10 +115,8 @@ export class CalendarManager {
|
|||
private setupEventListeners(): void {
|
||||
// Listen for workweek changes only
|
||||
this.eventBus.on(CoreEvents.WORKWEEK_CHANGED, (event: Event) => {
|
||||
|
||||
const customEvent = event as CustomEvent;
|
||||
// this.handleWorkweekChange();
|
||||
|
||||
this.handleWorkweekChange();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue