Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rescheduled 🗓️
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
c3lingo
rescheduled 🗓️
Commits
4bde2930
Verified
Commit
4bde2930
authored
3 months ago
by
Felix Eckhofer
Browse files
Options
Downloads
Patches
Plain Diff
Make day sticky as well
parent
59a41b20
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/views/conferences/show.html.erb
+2
-2
2 additions, 2 deletions
app/views/conferences/show.html.erb
with
2 additions
and
2 deletions
app/views/conferences/show.html.erb
+
2
−
2
View file @
4bde2930
...
...
@@ -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=
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment