Skip to content

Commit 5b365ed

Browse files
authored
Stop file field from hiding filename (#2431)
1 parent ce69e55 commit 5b365ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/avo/fields/common/files/view_type/grid_item_component.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div id="<%= dom_id file %>" class="relative min-h-full max-w-full flex-1 flex flex-col justify-between space-y-2">
22
<% if file.present? %>
3-
<div class="flex h-full">
3+
<div class="flex flex-col h-full">
44
<% if file.representable? && is_image? %>
55
<%= image_tag helpers.main_app.url_for(file), class: "rounded-lg max-w-full #{@extra_classes}" %>
66
<% elsif is_audio? %>

0 commit comments

Comments
 (0)