diff --git a/src/renderer/src/components/calendar/WeekView.vue b/src/renderer/src/components/calendar/WeekView.vue index 510d6d3..02bfd94 100644 --- a/src/renderer/src/components/calendar/WeekView.vue +++ b/src/renderer/src/components/calendar/WeekView.vue @@ -299,6 +299,9 @@ 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 */ + scrollbar-gutter: stable; + overflow: hidden; } .time-gutter { @@ -375,6 +378,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); + scrollbar-gutter: stable; + overflow: hidden; } .allday-gutter { @@ -432,6 +437,7 @@ function calendarColor(calendarId: string): string { position: relative; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; + scrollbar-gutter: stable; } .grid-scroll::-webkit-scrollbar {