Skip to content

Commit 7b7988e

Browse files
committed
Fix video attachment window size
We need it to be as wide as the other attachments in order for the file info text disaply to work. Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
1 parent 7daac33 commit 7b7988e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/helpers/alchemy/admin/attachments_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def attachment_preview_size(attachment)
1515
when "application/pdf" then "850x600"
1616
when *IMAGE_FILE_TYPES then "850x280"
1717
when *AUDIO_FILE_TYPES then "850x190"
18-
when *VIDEO_FILE_TYPES then "900x280"
18+
when *VIDEO_FILE_TYPES then "850x240"
1919
else
2020
"500x165"
2121
end

0 commit comments

Comments
 (0)