Remove image dimension limitations

This commit is contained in:
Lucas Phang 2021-06-29 18:42:45 +10:00
parent 7bb4c720c6
commit 9b6c08008c

View file

@ -10,11 +10,10 @@ interface Props {
export function ArticleSectionFeatureImage({ featureImage, title }: Props) {
return (
<div className="w-full pb-4 desktop:pb-0">
<div className="relative flex items-center justify-center w-full h-full bg-gradient-to-bl from-hyper to-blush">
<div className="relative flex items-center justify-center w-full h-full">
<img
src={featureImage?.imageUrl}
alt={featureImage?.description ?? title}
style={{ maxHeight: '65vh', width: '87.5em' }}
className="object-fill"
/>
</div>