diff --git a/app/views/conferences/show.html.erb b/app/views/conferences/show.html.erb index 673127b9e37cb356e96137f57f68f36f987d467c..8c17f0e87eaa024531583e203a539f227c1f4963 100644 --- a/app/views/conferences/show.html.erb +++ b/app/views/conferences/show.html.erb @@ -58,7 +58,7 @@ current_time = Time.zone.now.in_time_zone(@conference.time_zone) timeline_ends_at = day_ends_at.advance(minutes: (day_ends_at.min / timeline_granularity.to_f).ceil * timeline_granularity) %> <div class="conference-day my-8" id="<%= date.strftime('day-%Y-%m-%d') %>"> - <h3 class="text-xl my-4 border-b"><%= date.strftime('%B %d, %Y') %></h3> + <h3 class="text-xl my-4 border-b sticky top-0 md:top-[3.7rem] bg-white bg-opacity-70 z-30"><%= date.strftime('%B %d, %Y') %></h3> <% =begin%> <ul class="list-disc"> @@ -131,7 +131,7 @@ current_time = Time.zone.now.in_time_zone(@conference.time_zone) sessions = @sessions_by_date_and_stage[date][stage] %> <div class="stage"> - <h4 class="sticky md:top-16 top-0 bg-white bg-opacity-70 w-full z-30"><%= stage.name %></h4> + <h4 class="sticky md:top-[5.5rem] top-7 bg-white bg-opacity-70 w-full z-30"><%= stage.name %></h4> <div class="stage-sessions"> <% sessions.each do |session| %> <div class="session-holder hover:z-30 h-full" style="