From d01e62a2edae0db70c2224a378c2bfea62871441 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Fri, 24 Jan 2025 20:06:58 -0600 Subject: [PATCH] Stub CSS for displaying events in a cluster @kevinmcconnell in order for the clusters to work, we'll need to update `timeline_conteroller.js` to set `grid-column-start` and `grid-row-start` on `.cluster` so it displays in the correct hour/action cell. Then we'll enable these styles to display them together without overlapping. --- app/assets/stylesheets/events.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/assets/stylesheets/events.css b/app/assets/stylesheets/events.css index bcd8dd804..21f19199b 100644 --- a/app/assets/stylesheets/events.css +++ b/app/assets/stylesheets/events.css @@ -10,6 +10,19 @@ .event--cluster { display: contents; + + /* FIXME re-enable this once we can set grid-column-start and grid-row-start on the cluster element */ + + /* &:has(.event + .event) { + display: grid; + grid-row-start: 12; + padding-block: var(--block-space-half); + + .event { + grid-column-start: unset !important; + grid-row-start: unset !important; + } + } */ } .event {