wip
This commit is contained in:
parent
ce82b5286b
commit
42901212da
3 changed files with 23 additions and 2 deletions
|
|
@ -16,6 +16,7 @@
|
|||
--day-column-min-width: 250px;
|
||||
--week-days: 7;
|
||||
--header-height: 80px;
|
||||
--all-day-row-height: 0px; /* Default height for all-day events row */
|
||||
|
||||
/* Time boundaries - Default fallback values */
|
||||
--day-start-hour: 0;
|
||||
|
|
|
|||
|
|
@ -50,12 +50,13 @@ swp-calendar-container {
|
|||
swp-header-spacer {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
height: var(--header-height); /* Use CSS variable for consistent height */
|
||||
height: calc(var(--header-height) + var(--all-day-row-height)); /* Dynamic height including all-day events */
|
||||
background: var(--color-surface);
|
||||
border-right: 1px solid var(--color-border);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
z-index: 5; /* Higher than time-axis to cover it when scrolling */
|
||||
position: relative;
|
||||
transition: height 300ms ease; /* Smooth height transitions */
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -63,12 +64,13 @@ swp-header-spacer {
|
|||
swp-right-header-spacer {
|
||||
grid-column: 3;
|
||||
grid-row: 1;
|
||||
height: var(--header-height); /* Use CSS variable for consistent height */
|
||||
height: calc(var(--header-height) + var(--all-day-row-height)); /* Dynamic height including all-day events */
|
||||
background: var(--color-surface);
|
||||
border-left: 1px solid var(--color-border);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
z-index: 5; /* Higher than time-axis to cover it when scrolling */
|
||||
position: relative;
|
||||
transition: height 300ms ease; /* Smooth height transitions */
|
||||
}
|
||||
|
||||
/* Week container for sliding */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue