Skip to content

Commit

Permalink
fix: partner image component minWidth and borderRadius on image
Browse files Browse the repository at this point in the history
  • Loading branch information
HoreKk committed Nov 15, 2024
1 parent b962b6c commit 1ad4b1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/components/ui/PartnerImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const PartnerImage = ({
overflow="hidden"
zIndex={1}
height={`${height}px`}
width={`${width}px`}
minWidth={`${width}px`}
>
<Image
src={partner.icon.url as string}
Expand All @@ -31,7 +31,7 @@ const PartnerImage = ({
imageStyle={{
width: `${width}px`,
height: `${height}px`,
borderRadius: "20px",
borderRadius: width <= 40 ? "16px" : "20px",
objectFit: "contain",
objectPosition: "center",
}}
Expand Down

0 comments on commit 1ad4b1a

Please sign in to comment.