Make sure GroupLinkPreview covers entire header

This commit is contained in:
Chewbacca 2023-05-11 15:13:30 -04:00
parent e84a4a6c45
commit d2eca144fa

View file

@ -19,7 +19,7 @@ const GroupLinkPreview: React.FC<IGroupLinkPreview> = ({ card }) => {
return (
<Stack className='cursor-default overflow-hidden rounded-lg border border-gray-300 text-center dark:border-gray-800'>
<div
className='-mb-8 h-32 w-full bg-center'
className='-mb-8 h-32 w-full bg-cover bg-center'
style={{ backgroundImage: `url(${group.header})` }}
/>