Enhances CSS grid configuration synchronization

Replaces isolated grid column update with comprehensive CSS property management

Extends configuration synchronization to include:
- Dynamic grid layout dimensions
- Hour height configuration
- Work and day hour boundaries

Provides more flexible and configurable grid styling
This commit is contained in:
Janus C. H. Knudsen 2025-11-03 23:07:30 +01:00
parent d3f4667b61
commit 8456d8aa28
2 changed files with 19 additions and 9 deletions

View file

@ -96,8 +96,8 @@ export class ViewManager {
this.config.setWorkWeek(workweekId);
// Update CSS grid columns to match new week days count
ConfigManager.updateGridColumns(this.config.dateViewSettings.weekDays);
// Update all CSS properties to match new configuration
ConfigManager.updateCSSProperties(this.config);
this.updateAllButtons();