Skip to content

feat(calendar): configurable time slot height - #2497

Open
AIDockerCloud wants to merge 1 commit into
callumalpass:mainfrom
AIDockerCloud:feat/calendar-slot-height
Open

AIDockerCloud wants to merge 1 commit into
callumalpass:mainfrom
AIDockerCloud:feat/calendar-slot-height

Conversation

@AIDockerCloud

Copy link
Copy Markdown

Add a slot height setting for the calendar time grid, so short slots such as 15 minutes no longer make the day taller than the window.

  • New slotHeight setting (5-60 px, default 24) in Settings > Appearance > Time settings and in each calendar view's time grid options.
  • Passed through to the calendar's time grid; values outside the supported range are clamped and non-numeric values fall back to the saved height.
  • Named slotHeight because that is the time grid option that controls the rendered height of one slot, unlike a CSS zoom.

Add a slot height setting for the calendar time grid, so short slots such as
15 minutes no longer make the day taller than the window.

- New `slotHeight` setting (5-60 px, default 24) in Settings > Appearance >
  Time settings and in each calendar view's time grid options.
- Passed through to the calendar's time grid; values outside the supported
  range are clamped and non-numeric values fall back to the saved height.
- Named `slotHeight` because that is the time grid option that controls the
  rendered height of one slot, unlike a CSS zoom.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant