Working all day
This commit is contained in:
parent
c164975494
commit
7ac7e0f7f8
2 changed files with 6 additions and 14 deletions
|
|
@ -224,13 +224,14 @@ swp-week-header {
|
|||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 3; /* Lower than header-spacer so it slides under during horizontal scroll */
|
||||
height: auto; /* Dynamic height based on content */
|
||||
height: calc(var(--header-height) + var(--all-day-row-height)); /* Same calculation as spacers */
|
||||
}
|
||||
|
||||
swp-day-header {
|
||||
padding: 12px;
|
||||
text-align: center;
|
||||
border-right: 1px solid var(--color-grid-line);
|
||||
border-bottom: 1px solid var(--color-grid-line);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
|
@ -267,20 +268,11 @@ swp-day-header[data-today="true"] swp-day-date {
|
|||
margin: 4px auto 0;
|
||||
}
|
||||
|
||||
/* Border between row 1 and row 2 in week header */
|
||||
swp-week-header::after {
|
||||
content: '';
|
||||
grid-column: 1 / -1; /* Span all columns */
|
||||
grid-row: 2; /* Position at start of row 2 */
|
||||
border-top: 1px solid var(--color-grid-line);
|
||||
height: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* All-day events in row 2 */
|
||||
swp-allday-event {
|
||||
grid-row: 2; /* Row 2 only */
|
||||
height: calc(var(--all-day-row-height) - 2px); /* Dynamic height minus margin */
|
||||
height: calc(var(--all-day-row-height) - 3px); /* Dynamic height minus margin */
|
||||
background: #ff9800; /* Default orange background */
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue