Skip to content

Commit

Permalink
fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
maxaleks committed Jan 24, 2024
1 parent 5e61c15 commit bde4d16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ui/marketplace/MarketplaceAppCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ const MarketplaceAppCard = ({
fontSize={{ base: 'sm', sm: 'lg' }}
fontWeight="semibold"
fontFamily="heading"
display={ isExperiment ? 'flex' : 'inline-block' }
alignItems={ isExperiment ? 'center' : undefined }
display="inline-block"
>
<MarketplaceAppCardLink
id={ id }
Expand All @@ -148,11 +147,12 @@ const MarketplaceAppCard = ({
>
<IconSvg
name={ integrationIcon }
marginLeft={ 2 }
boxSize={ 5 }
color={ integrationIconColor }
position="relative"
cursor="pointer"
verticalAlign="middle"
marginBottom={ 1 }
/>
</Tooltip>
) }
Expand Down
4 changes: 2 additions & 2 deletions ui/marketplace/MarketplaceAppCardLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ type Props = {

const MarketplaceAppCardLink = ({ url, external, id, title, onClick }: Props) => {
return external ? (
<LinkOverlay href={ url } isExternal={ true }>
<LinkOverlay href={ url } isExternal={ true } marginRight={ 2 }>
{ title }
</LinkOverlay>
) : (
<NextLink href={{ pathname: '/apps/[id]', query: { id } }} passHref legacyBehavior>
<LinkOverlay onClick={ onClick }>
<LinkOverlay onClick={ onClick } marginRight={ 2 }>
{ title }
</LinkOverlay>
</NextLink>
Expand Down

0 comments on commit bde4d16

Please sign in to comment.