From 1dd9e867cdfc2d8e50cf87af366597b352cfddc3 Mon Sep 17 00:00:00 2001 From: iamsivin Date: Fri, 24 Jan 2025 23:52:33 +0530 Subject: [PATCH] chore: Minor fix --- .../dashboard/components-next/message/chips/AttachmentGrid.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/dashboard/components-next/message/chips/AttachmentGrid.vue b/app/javascript/dashboard/components-next/message/chips/AttachmentGrid.vue index 6b1f439d1..86267becd 100644 --- a/app/javascript/dashboard/components-next/message/chips/AttachmentGrid.vue +++ b/app/javascript/dashboard/components-next/message/chips/AttachmentGrid.vue @@ -43,7 +43,7 @@ const itemClass = computed(() => index => { const count = props.attachments.length; const base = 'relative overflow-hidden rounded-lg'; - if (count === 1) return `${base} w-full h-auto`; + if (count === 1) return `${base} w-fit h-[400px]`; // w-full h-auto, TODO: check this if (count === 3 && index === 0) return `${base} row-span-2 h-[392px]`; if (count >= 5 && index === 0) return `${base} col-span-2 h-[192px]`;