Skip to content

Commit a1b70eb

Browse files
authored
Merge pull request #652 from avo-hq/avo-1730/docs/calendar-current-time-line
Document the week view's current-time line and centred opening scroll
2 parents df33c14 + 2e1f04f commit a1b70eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/4.0/calendar-view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ end
167167

168168
## Month and week views
169169

170-
The header's Month/Week toggle switches between a month grid and a week time grid (carried in the `calendar_period` query param). In the week view, all-day and multi-day events sit in the all-day lane at the top, and hour-based events render as blocks stretched to their duration — an event without an end renders as one hour. Overlapping events share the day column side by side, each block showing its title under the start time. The grid scrolls under the pinned day-header row and all-day lane, and opens at 07:00.
170+
The header's Month/Week toggle switches between a month grid and a week time grid (carried in the `calendar_period` query param). In the week view, all-day and multi-day events sit in the all-day lane at the top, and hour-based events render as blocks stretched to their duration — an event without an end renders as one hour. Overlapping events share the day column side by side, each block showing its title under the start time. The grid scrolls under the pinned day-header row and all-day lane, and opens with the current time centred. When the week on screen is the current one, a red line runs across the day columns at the current time — a dot marking today's — and keeps itself up to date.
171171

172172
<Image src="/assets/img/4_0/calendar-view/week.webp" dark-src="/assets/img/4_0/calendar-view/week-dark.webp" width="1456" height="806" alt="The week view — event blocks stretched to their duration, three overlapping events sharing a day column side by side." />
173173

0 commit comments

Comments
 (0)