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

Fix responsive layout for download box

Fixes #30
parent efc13e75
No related branches found
No related tags found
No related merge requests found
Pipeline #36937 passed
<div>
<div class="max-w-full">
<h6><%= link_to @session.conference.name, @session.conference %></h6>
<h1 class="dark:text-red-500">
<%= @session.title %>
......@@ -30,8 +30,8 @@
<ul class="space-y-4 my-4">
<% @session.filedrop_files.each do |file| %>
<li class="text-gray-500 dark:text-slate-400 shadow dark:shadow-gray-500 rounded-lg p-4">
<div class="flex flex-wrap justify-between items-start max-w-full">
<div>
<div class="flex justify-between items-center max-w-full">
<div class="overflow-x-auto mr-2 whitespace-nowrap">
<div class="text-gray-900 dark:text-slate-300 text-lg font-semibold"><%= file.name %></div>
<div class="text-sm">Size: <%= number_to_human_size(file.size) %></div>
<div class="text-sm">Date: <%=file.orig_created&.in_time_zone(@session.conference.time_zone || 'UTC')&.strftime("%B %d, %Y %H:%M") %></div>
......
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