Commit bde4d16f authored by Max Alekseenko's avatar Max Alekseenko

fix styles

parent 5e61c159
......@@ -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 }
......@@ -148,11 +147,12 @@ const MarketplaceAppCard = ({
>
<IconSvg
name={ integrationIcon }
marginLeft={ 2 }
boxSize={ 5 }
color={ integrationIconColor }
position="relative"
cursor="pointer"
verticalAlign="middle"
marginBottom={ 1 }
/>
</Tooltip>
) }
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment