fix styles

This commit is contained in:
Max Alekseenko
2024-01-24 15:48:03 +01:00
parent 8bfcb863d6
commit be9809e3b2
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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>
) }
+2 -2
View File
@@ -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>