chore: Minor fix

This commit is contained in:
iamsivin
2025-01-24 23:52:33 +05:30
parent 123f0cb61f
commit 1dd9e867cd
@@ -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]`;