Skip to content

Commit

Permalink
Backport #2431 to 2.x branch (#2495)
Browse files Browse the repository at this point in the history
The filename was hidden in both 3.x and 2.x branches but only 3.x received the fix

Co-authored-by: Paul Bob <[email protected]>
  • Loading branch information
iainbeeston and Paul-Bob authored Feb 21, 2024
1 parent 5ade47c commit fee2f4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="<%= dom_id file %>" class="relative min-h-full max-w-full flex-1 flex flex-col justify-between space-y-2">
<% if file.present? %>
<div class="flex h-full">
<div class="flex flex-col h-full">
<% if file.representable? && is_image? %>
<%= image_tag helpers.main_app.url_for(file), class: "rounded-lg max-w-full #{@extra_classes}" %>
<% elsif is_audio? %>
Expand Down

0 comments on commit fee2f4d

Please sign in to comment.