Make sure GroupLinkPreview covers entire header
This commit is contained in:
parent
e84a4a6c45
commit
d2eca144fa
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ const GroupLinkPreview: React.FC<IGroupLinkPreview> = ({ card }) => {
|
||||||
return (
|
return (
|
||||||
<Stack className='cursor-default overflow-hidden rounded-lg border border-gray-300 text-center dark:border-gray-800'>
|
<Stack className='cursor-default overflow-hidden rounded-lg border border-gray-300 text-center dark:border-gray-800'>
|
||||||
<div
|
<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})` }}
|
style={{ backgroundImage: `url(${group.header})` }}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue