Skip to content

Commit 58338a5

Browse files
committed
Fix only search page (interesting accounts grid)
1 parent c253da3 commit 58338a5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/components/interesting-accounts/InterestingAccounts.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const PreviewAccountsGrid: FC = () => {
2626
asPath + (asPath === '/' ? '' : '/') + 'accounts'
2727

2828
const showAllButton = isClientSide() ? (
29-
<div className={clsx({ ['pl-3 bs-mb-2']: isMobile })}>
29+
<div className={clsx({ ['mt-3 bs-mb-2']: isMobile })}>
3030
<Link href={interestingAccountsUrl} legacyBehavior>
3131
{t('general.showAll')}
3232
</Link>
@@ -36,14 +36,13 @@ export const PreviewAccountsGrid: FC = () => {
3636
return (
3737
<div>
3838
<Row justify='space-between'>
39-
<Col>
39+
<Col className={clsx({['w-100']: isMobile})}>
4040
<SectionTitle
4141
title={t('interestingAccounts.title')}
42-
className={clsx({ ['pr-3 pl-3']: isMobile })}
4342
/>
4443
</Col>
4544
{!isMobile && (
46-
<Col className={clsx({ ['bs-mr-3']: isMobile }, 'align-self-center')}>
45+
<Col className={clsx('align-self-center')}>
4746
{showAllButton}
4847
</Col>
4948
)}
@@ -59,7 +58,7 @@ export const PreviewAccountsGrid: FC = () => {
5958
<Col
6059
key={x.account + x.type + x.relayChain}
6160
span={!isMobile ? 6 : undefined}
62-
className={'bs-mb-3'}
61+
className={clsx('bs-mb-3', { ['w-50']: isMobile })}
6362
>
6463
<AccountCard accountData={x} />
6564
</Col>

0 commit comments

Comments
 (0)