Remove resource calendar mode support
Simplifies calendar configuration and removes resource-specific code paths Eliminates complexity around resource-based calendar rendering by: - Removing ResourceCalendarData type - Removing resource-specific renderers and managers - Streamlining event and grid management logic - Consolidating to single date-based calendar implementation
This commit is contained in:
parent
349e1e8293
commit
cda201301c
16 changed files with 65 additions and 323 deletions
|
|
@ -186,7 +186,6 @@ swp-calendar-header {
|
|||
min-width: calc(var(--grid-columns, 7) * var(--day-column-min-width));
|
||||
/* Dynamic width */
|
||||
background: var(--color-surface);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 3;
|
||||
|
|
@ -197,10 +196,7 @@ swp-calendar-header {
|
|||
/* Force scrollbar to appear for alignment */
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
|
||||
/* Firefox - hide scrollbar but keep space */
|
||||
scrollbar-width: auto;
|
||||
/* Normal width to match content scrollbar */
|
||||
|
||||
|
||||
/* All-day events container */
|
||||
swp-allday-container {
|
||||
|
|
@ -211,12 +207,10 @@ swp-calendar-header {
|
|||
grid-auto-rows: var(--single-row-height);
|
||||
/* Each row is exactly SINGLE_ROW_HEIGHT */
|
||||
gap: 2px 0px;
|
||||
padding: 2px 0px 5px 0px;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
scrollbar-color: transparent transparent;
|
||||
|
||||
}
|
||||
|
||||
/* WebKit browsers (Chrome, Safari, Edge) - hide scrollbar but keep space */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue