mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
fix styles
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user