From db89e6b81803f6efa17382627208ac7ab94d24d3 Mon Sep 17 00:00:00 2001 From: Alan Soto Date: Tue, 10 Sep 2024 15:28:59 -0600 Subject: [PATCH] Add mb based on viewport height --- app/views/schedules/show.html.erb | 3 +-- app/views/sessions/_card.html.erb | 3 +-- app/views/sessions/index.html.erb | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/app/views/schedules/show.html.erb b/app/views/schedules/show.html.erb index 3d6acff3..ee1f0c3f 100644 --- a/app/views/schedules/show.html.erb +++ b/app/views/schedules/show.html.erb @@ -10,10 +10,9 @@ <%= render partial: 'sessions/filters', locals: { resource: :schedule } %> -
+
<% if @sessions.present? %> <% previous_date = nil %> - <% @sessions.group_by(&:starts_at).each do |starts_at, sessions| %> <%= content_tag( :div, diff --git a/app/views/sessions/_card.html.erb b/app/views/sessions/_card.html.erb index 168fbb78..7b9240a2 100644 --- a/app/views/sessions/_card.html.erb +++ b/app/views/sessions/_card.html.erb @@ -1,4 +1,4 @@ -<%# locals: (session:, user_is_an_attendee:, id_prefix: nil, last_session: false) %> +<%# locals: (session:, user_is_an_attendee:, id_prefix: nil) %>
@@ -74,4 +74,3 @@
- diff --git a/app/views/sessions/index.html.erb b/app/views/sessions/index.html.erb index 0b8e3b92..cb1ee975 100644 --- a/app/views/sessions/index.html.erb +++ b/app/views/sessions/index.html.erb @@ -10,10 +10,9 @@ <%= render partial: 'sessions/filters', locals: { resource: :sessions } %> -
+
<% if @sessions.present? %> <% previous_date = nil %> - <% @sessions.group_by(&:starts_at).each do |starts_at, sessions| %> <%= content_tag( :div,