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})`,
|
||||
width: horizontal ? width : undefined,
|
||||
height: horizontal ? height : undefined,
|
||||
aspectRatio: ratio,
|
||||
}}
|
||||
className='status-card__image-image'
|
||||
title={card.image_description || undefined}
|
||||
|
||||
Reference in New Issue
Block a user