Skip to content

Commit d05da1d

Browse files
committed
Align view all links with table paddings
1 parent 33b4594 commit d05da1d

10 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/app/components/LearningMaterialsCard/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const LearningMaterialsCard: FC<LearningMaterialsCardProps> = ({ children
2222
rel="noopener noreferrer"
2323
target="_blank"
2424
textColor="primary"
25-
className="font-medium "
25+
className="font-medium px-4"
2626
>
2727
{t('common.viewAll')}
2828
</Link>

src/app/pages/ConsensusDashboardPage/AccountsCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const AccountsCard: FC<{ scope: ConsensusScope }> = ({ scope }) => {
3434
<Card>
3535
<div className="flex justify-between items-center mb-4 pr-4 sm:pr-0">
3636
<Typography variant="h3">{t('account.listTitle')}</Typography>
37-
<Link asChild textColor="primary" className="font-medium">
37+
<Link asChild textColor="primary" className="font-medium px-4">
3838
<RouterLink to={RouteUtils.getAccountsRoute(scope.network)}>{t('common.viewAll')}</RouterLink>
3939
</Link>
4040
</div>

src/app/pages/ConsensusDashboardPage/LatestConsensusBlocks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const LatestConsensusBlocks: FC<{ scope: ConsensusScope }> = ({ scope })
4545
<Card sx={{ flex: 1 }}>
4646
<div className="flex justify-between items-center mb-4 pr-4 sm:pr-0">
4747
<Typography variant="h3">{t('blocks.latest')}</Typography>
48-
<Link asChild className="font-medium" textColor="primary">
48+
<Link asChild className="font-medium px-4" textColor="primary">
4949
<RouterLink to={RouteUtils.getLatestBlocksRoute(scope)}>{t('common.viewAll')}</RouterLink>
5050
</Link>
5151
</div>

src/app/pages/ConsensusDashboardPage/LatestConsensusTransactions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const LatestConsensusTransactions: FC<{
7171
<ConsensusTransactionMethodFilter value={txMethod} setValue={setTxMethod} />
7272
)}
7373
</div>
74-
<Link asChild className="font-medium" textColor="primary">
74+
<Link asChild className="font-medium px-4" textColor="primary">
7575
<RouterLink to={RouteUtils.getLatestTransactionsRoute(scope)}>{t('common.viewAll')}</RouterLink>
7676
</Link>
7777
</div>

src/app/pages/ConsensusDashboardPage/NetworkProposalsCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const NetworkProposalsCard: FC<{ scope: ConsensusScope }> = ({ scope }) =
3636
<Card>
3737
<div className="flex justify-between items-center mb-4 pr-4 sm:pr-0">
3838
<Typography variant="h3">{t('networkProposal.listTitle')}</Typography>
39-
<Link asChild className="font-medium" textColor="primary">
39+
<Link asChild className="font-medium px-4" textColor="primary">
4040
<RouterLink to={RouteUtils.getProposalsRoute(network)}>{t('common.viewAll')}</RouterLink>
4141
</Link>
4242
</div>

src/app/pages/ConsensusDashboardPage/Validators.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const ValidatorsCard: FC<{ scope: ConsensusScope }> = ({ scope }) => {
5858
</Typography>
5959
</ErrorBoundary>
6060

61-
<Link asChild textColor="primary" className="font-medium">
61+
<Link asChild textColor="primary" className="font-medium px-4">
6262
<RouterLink to={RouteUtils.getValidatorsRoute(scope.network)}>{t('common.viewAll')}</RouterLink>
6363
</Link>
6464
</div>

src/app/pages/ParatimeDashboardPage/LatestRoflApps.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const LatestRoflApps: FC<{ scope: RuntimeScope }> = ({ scope }) => {
3434
<Card>
3535
<div className="flex justify-between items-center mb-4 pr-4 sm:pr-0">
3636
<Typography variant="h3">{t('rofl.listTitle')}</Typography>
37-
<Link asChild className="font-medium" textColor="primary">
37+
<Link asChild className="font-medium px-4" textColor="primary">
3838
<RouterLink to={RouteUtils.getRoflAppsRoute(scope.network)}>{t('common.viewAll')}</RouterLink>
3939
</Link>
4040
</div>

src/app/pages/ParatimeDashboardPage/LatestRuntimeBlocks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const LatestRuntimeBlocks: FC<{ scope: RuntimeScope }> = ({ scope }) => {
4747
<Card sx={{ width: '100%' }}>
4848
<div className="flex justify-between items-center mb-4 pr-4 sm:pr-0">
4949
<Typography variant="h3">{t('blocks.latest')}</Typography>
50-
<Link asChild className="font-medium" textColor="primary">
50+
<Link asChild className="font-medium px-4" textColor="primary">
5151
<RouterLink to={RouteUtils.getLatestBlocksRoute(scope)}>{t('common.viewAll')}</RouterLink>
5252
</Link>
5353
</div>

src/app/pages/ParatimeDashboardPage/LatestRuntimeTransactions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const LatestRuntimeTransactions: FC<{
7171
<RuntimeTransactionMethodFilter layer={layer} value={txMethod} setValue={setTxMethod} />
7272
)}
7373
</div>
74-
<Link asChild className="font-medium" textColor="primary">
74+
<Link asChild className="font-medium px-4" textColor="primary">
7575
<RouterLink to={RouteUtils.getLatestTransactionsRoute(scope)}>{t('common.viewAll')}</RouterLink>
7676
</Link>
7777
</div>

src/app/pages/ParatimeDashboardPage/TopTokens.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const TopTokens: FC<{ scope: RuntimeScope }> = ({ scope }) => {
3535
<Card>
3636
<div className="flex justify-between items-center mb-4 pr-4 sm:pr-0">
3737
<Typography variant="h3">{t('common.tokens')}</Typography>
38-
<Link asChild className="font-medium" textColor="primary">
38+
<Link asChild className="font-medium px-4" textColor="primary">
3939
<RouterLink to={RouteUtils.getTopTokensRoute(scope)}>{t('common.viewAll')}</RouterLink>
4040
</Link>
4141
</div>

0 commit comments

Comments
 (0)