diff --git a/app/assets/stylesheets/events.css b/app/assets/stylesheets/events.css index 42d129125..660fda3bd 100644 --- a/app/assets/stylesheets/events.css +++ b/app/assets/stylesheets/events.css @@ -225,6 +225,17 @@ text-align: center; } + .events__welcome-video { + .events:has(.day-timeline-pagination-link) + & { + display: none !important; + } + + iframe { + aspect-ratio: 16 / 9; + inline-size: 100%; + } + } + /* Event /* ------------------------------------------------------------------------ */ diff --git a/app/views/events/index.html.erb b/app/views/events/index.html.erb index 5d1443b13..87b06c5af 100644 --- a/app/views/events/index.html.erb +++ b/app/views/events/index.html.erb @@ -24,3 +24,13 @@ <%= day_timeline_pagination_link(@day_timeline, @filter) %> <% end %> <% end %> + +