Skip to content
Snippets Groups Projects
Verified Commit 4bde2930 authored by Felix Eckhofer's avatar Felix Eckhofer :man_dancing:
Browse files

Make day sticky as well

parent 59a41b20
No related branches found
No related tags found
No related merge requests found
......@@ -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="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment