Re:Show HN: I built an open source web calendar inspired by ...
by pimlottc on Tuesday January 02, 2024 @12:35PM
(#38844344)
This makes sense, but there doesn't appear to be a gap on the calendar demo page [0], is that intentional?
Re:Show HN: I built an open source web calendar inspired by ...
by tomosterlund on Tuesday January 02, 2024 @01:47PM
(#38845305)
Correct! 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).
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.