Skip to content

Commit

Permalink
Add box with image without content
Browse files Browse the repository at this point in the history
  • Loading branch information
SannyNguyenHung committed Oct 17, 2023
1 parent 6f63f75 commit dd6224a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/components/BoxWithImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const BoxWithImage = ({
imageLabel,
content,
}: BoxWithImageProps) => {
console.log("COntent", content);
return (
<div
id={identifier}
Expand All @@ -33,7 +34,7 @@ const BoxWithImage = ({
<Image
{...image}
{...{
className: "w-[160px]",
className: content ? "w-[160px]" : "max-w-none",
}}
/>
)}
Expand Down

0 comments on commit dd6224a

Please sign in to comment.