fix: mini-cal marks full multi-day span; short week events show title inline

- Mini calendar: mark every day an event spans (not just the start day) so
  multi-day events (Urlaub/Ferien) show a dot across the whole range
- Week view: render short events on one line (time next to title) so the title
  stays visible; drop the location line when there's no room

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Scarriffle
2026-07-01 09:42:02 +02:00
parent 906241a743
commit f791160d1a
3 changed files with 25 additions and 6 deletions

View File

@@ -915,6 +915,10 @@ a { color: var(--primary); text-decoration: none; }
.timed-event .ev-time { font-size: 10px; opacity: .85; }
.timed-event .ev-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.timed-event .ev-loc { font-size: 10px; opacity: .75; white-space: nowrap; overflow: hidden; }
/* Short events: time and title on one line so the title stays visible. */
.timed-event.short { display: flex; flex-direction: row; align-items: baseline; gap: 4px; }
.timed-event.short .ev-time { flex-shrink: 0; }
.timed-event.short .ev-title { flex: 1; min-width: 0; }
/* Day view specifics */
.day-view .week-day-col { flex: 1; }