Adds work hours management with day-specific overrides
Introduces work hours management with weekly default and date-specific overrides to support per-column scheduling. Calculates and applies non-work hour overlays to columns. This allows users to visualize working and non-working times. Adjusts event rendering to prevent overlap with horizontal timelines.
This commit is contained in:
parent
18c12cd3e6
commit
a3ed03ff44
5 changed files with 252 additions and 13 deletions
|
|
@ -69,7 +69,7 @@ export abstract class BaseEventRenderer implements EventRendererStrategy {
|
|||
const position = this.calculateEventPosition(event, config);
|
||||
eventElement.style.position = 'absolute';
|
||||
eventElement.style.top = `${position.top + 1}px`;
|
||||
eventElement.style.height = `${position.height - 1}px`;
|
||||
eventElement.style.height = `${position.height - 3}px`; //adjusted so bottom does not cover horizontal time lines.
|
||||
|
||||
// Color is now handled by CSS classes based on data-type attribute
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue