Skip to content

Commit

Permalink
Merge pull request #1620 from JennGuz/course-icons
Browse files Browse the repository at this point in the history
Fixed icon size
  • Loading branch information
tommygonzaleza authored Oct 1, 2024
2 parents 32382c9 + 7af1205 commit a152258
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/common/components/ProgramCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,14 @@ function ProgramCard({
<Image src={iconLink} width="44px" height="44px" borderRadius="50%" />
</Box>
) : (
<Box position="absolute" borderRadius="full" top="-30px" background={iconBackground} padding="10px">
<Icon
width="32px"
height="32px"
icon={icon}
/>
<Box position="absolute" top="-30px" padding="10px">
<Box borderRadius="full" background={iconBackground} padding="10px">
<Icon
width="24px"
height="24px"
icon={icon}
/>
</Box>
</Box>
)}

Expand Down

0 comments on commit a152258

Please sign in to comment.