frontend-monorepo-134 Ensure displayed ids are using mono font

This commit is contained in:
sam-keen 2022-03-24 16:44:23 +00:00
parent 56b6933ea3
commit 6806aff6b6
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ export const BlockData = ({ block, className }: BlockProps) => {
<TableRow data-testid="block-row" modifier="background">
<TableCell
data-testid="block-height"
className="pl-4 py-2"
className="pl-4 py-2 font-mono"
aria-label="Block height"
>
<Link
@ -40,7 +40,7 @@ export const BlockData = ({ block, className }: BlockProps) => {
</TableCell>
<TableCell
data-testid="validator-link"
className="px-8 text-center"
className="px-8 text-center font-mono"
aria-label="Validator"
>
<Link to={`/${Routes.VALIDATORS}`}>
@ -49,7 +49,7 @@ export const BlockData = ({ block, className }: BlockProps) => {
</TableCell>
<TableCell
data-testid="block-time"
className="text-center pr-28 text-neutral-300"
className="text-center pr-28 text-neutral-300 w-[170px]"
aria-label="Block genesis"
>
<SecondsAgo date={block.header?.time} />

View File

@ -36,7 +36,7 @@ const Block = () => {
<TableCell modifier="bordered">
<Link
data-testid="block-validator"
className="text-vega-yellow"
className="text-vega-yellow font-mono"
to={'/validators'}
>
{header.proposer_address}