Commit bde4d16f authored by Max Alekseenko's avatar Max Alekseenko

fix styles

parent 5e61c159
...@@ -128,8 +128,7 @@ const MarketplaceAppCard = ({ ...@@ -128,8 +128,7 @@ const MarketplaceAppCard = ({
fontSize={{ base: 'sm', sm: 'lg' }} fontSize={{ base: 'sm', sm: 'lg' }}
fontWeight="semibold" fontWeight="semibold"
fontFamily="heading" fontFamily="heading"
display={ isExperiment ? 'flex' : 'inline-block' } display="inline-block"
alignItems={ isExperiment ? 'center' : undefined }
> >
<MarketplaceAppCardLink <MarketplaceAppCardLink
id={ id } id={ id }
...@@ -148,11 +147,12 @@ const MarketplaceAppCard = ({ ...@@ -148,11 +147,12 @@ const MarketplaceAppCard = ({
> >
<IconSvg <IconSvg
name={ integrationIcon } name={ integrationIcon }
marginLeft={ 2 }
boxSize={ 5 } boxSize={ 5 }
color={ integrationIconColor } color={ integrationIconColor }
position="relative" position="relative"
cursor="pointer" cursor="pointer"
verticalAlign="middle"
marginBottom={ 1 }
/> />
</Tooltip> </Tooltip>
) } ) }
......
...@@ -13,12 +13,12 @@ type Props = { ...@@ -13,12 +13,12 @@ type Props = {
const MarketplaceAppCardLink = ({ url, external, id, title, onClick }: Props) => { const MarketplaceAppCardLink = ({ url, external, id, title, onClick }: Props) => {
return external ? ( return external ? (
<LinkOverlay href={ url } isExternal={ true }> <LinkOverlay href={ url } isExternal={ true } marginRight={ 2 }>
{ title } { title }
</LinkOverlay> </LinkOverlay>
) : ( ) : (
<NextLink href={{ pathname: '/apps/[id]', query: { id } }} passHref legacyBehavior> <NextLink href={{ pathname: '/apps/[id]', query: { id } }} passHref legacyBehavior>
<LinkOverlay onClick={ onClick }> <LinkOverlay onClick={ onClick } marginRight={ 2 }>
{ title } { title }
</LinkOverlay> </LinkOverlay>
</NextLink> </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