diff --git a/src/renderer/src/components/calendar/WeekView.vue b/src/renderer/src/components/calendar/WeekView.vue index 02bfd94..24ab68d 100644 --- a/src/renderer/src/components/calendar/WeekView.vue +++ b/src/renderer/src/components/calendar/WeekView.vue @@ -299,9 +299,11 @@ function calendarColor(calendarId: string): string { border-bottom: 1px solid rgba(255, 255, 255, 0.06); background: rgba(10, 10, 18, 0.35); backdrop-filter: blur(8px); - /* Reserve same space as the stable scrollbar gutter in .grid-scroll */ + /* Reserve same scrollbar gutter as .grid-scroll. + scrollbar-gutter only works on scrollable elements (overflow != hidden/visible), + so overflow-y: auto is required even though .day-headers never actually scrolls. */ + overflow-y: auto; scrollbar-gutter: stable; - overflow: hidden; } .time-gutter { @@ -378,8 +380,8 @@ function calendarColor(calendarId: string): string { border-bottom: 1px solid rgba(255, 255, 255, 0.06); min-height: 30px; background: rgba(255, 255, 255, 0.01); + overflow-y: auto; scrollbar-gutter: stable; - overflow: hidden; } .allday-gutter {