Multiple events occurring at the same time that should not be merged do not take the full width of the day.
The styling of the "master" event was behaving correctly however the "hidden" events weren't being positioned correctly for the click event to open the correct event dialogue.
This PR added some more calculations to never assume the event takes up the full width and instead read how wide it actually is, so in theory you could have unlimited events in at the same time and it should work
Addresses:
https://github.com/HCAWN/gcal-multical-event-merge/issues/21https://github.com/HCAWN/gcal-multical-event-merge/issues/20
Multiple events occurring at the same time that should not be merged do not take the full width of the day. The styling of the "master" event was behaving correctly however the "hidden" events weren't being positioned correctly for the click event to open the correct event dialogue. This PR added some more calculations to never assume the event takes up the full width and instead read how wide it actually is, so in theory you could have unlimited events in at the same time and it should work Addresses: https://github.com/HCAWN/gcal-multical-event-merge/issues/21 https://github.com/HCAWN/gcal-multical-event-merge/issues/20