3 ms·
This is a good question, which baffled me a bit too when studying the Google calendar. Took me a while to figure it out, but when I first built the month grid
by tomosterlund 3y ago
This is a good question, which baffled me a bit too when studying the Google calendar.
Took me a while to figure it out, but when I first built the month grid without subtracting a few pixels per event, it got a bit hard to optically make sense of where an event ended and a new one started. This especially since events are also allowed to stretch over multiple days.
Subtracting a few pixels from each event, helps me to quicker grasp that an event ends on a given date, and isn't to be considered "one" with an event in the next day.
- pimlottc 3y agoThis makes sense, but there doesn't appear to be a gap on the calendar demo page [0], is that intentional? 0: https://schedule-x.dev/demos/calendar https://schedule-x.dev/demos/calendar
- tomosterlund 3y agoCorrect! In the week- and day views there is still no gap, only in the month view. The discussions here today though convinced me I should also allow for a gap in the week/day views (not sure yet if per default or configuration).