nicolium: use aspect-ratio for preview card size
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -166,6 +166,7 @@ const PreviewCard: React.FC<IPreviewCard> = ({
|
|||||||
backgroundImage: `url(${card.image})`,
|
backgroundImage: `url(${card.image})`,
|
||||||
width: horizontal ? width : undefined,
|
width: horizontal ? width : undefined,
|
||||||
height: horizontal ? height : undefined,
|
height: horizontal ? height : undefined,
|
||||||
|
aspectRatio: ratio,
|
||||||
}}
|
}}
|
||||||
className='status-card__image-image'
|
className='status-card__image-image'
|
||||||
title={card.image_description || undefined}
|
title={card.image_description || undefined}
|
||||||
|
|||||||
Reference in New Issue
Block a user