Merge pull request #135 from vegaprotocol/feat/134-ids-using-mono-font

frontend-monorepo-134 Ensure displayed ids are using mono font
This commit is contained in:
Edd 2022-03-25 11:30:38 +00:00 committed by GitHub
commit ab1d9680c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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}