nicolium: use aspect-ratio for preview card size

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-02-10 22:05:17 +01:00
parent f92ba7d6bc
commit edf14be7b8

View File

@ -166,6 +166,7 @@ const PreviewCard: React.FC<IPreviewCard> = ({
backgroundImage: `url(${card.image})`,
width: horizontal ? width : undefined,
height: horizontal ? height : undefined,
aspectRatio: ratio,
}}
className='status-card__image-image'
title={card.image_description || undefined}