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:
commit
ab1d9680c0
@ -19,7 +19,7 @@ export const BlockData = ({ block, className }: BlockProps) => {
|
|||||||
<TableRow data-testid="block-row" modifier="background">
|
<TableRow data-testid="block-row" modifier="background">
|
||||||
<TableCell
|
<TableCell
|
||||||
data-testid="block-height"
|
data-testid="block-height"
|
||||||
className="pl-4 py-2"
|
className="pl-4 py-2 font-mono"
|
||||||
aria-label="Block height"
|
aria-label="Block height"
|
||||||
>
|
>
|
||||||
<Link
|
<Link
|
||||||
@ -40,7 +40,7 @@ export const BlockData = ({ block, className }: BlockProps) => {
|
|||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell
|
<TableCell
|
||||||
data-testid="validator-link"
|
data-testid="validator-link"
|
||||||
className="px-8 text-center"
|
className="px-8 text-center font-mono"
|
||||||
aria-label="Validator"
|
aria-label="Validator"
|
||||||
>
|
>
|
||||||
<Link to={`/${Routes.VALIDATORS}`}>
|
<Link to={`/${Routes.VALIDATORS}`}>
|
||||||
@ -49,7 +49,7 @@ export const BlockData = ({ block, className }: BlockProps) => {
|
|||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell
|
<TableCell
|
||||||
data-testid="block-time"
|
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"
|
aria-label="Block genesis"
|
||||||
>
|
>
|
||||||
<SecondsAgo date={block.header?.time} />
|
<SecondsAgo date={block.header?.time} />
|
||||||
|
@ -36,7 +36,7 @@ const Block = () => {
|
|||||||
<TableCell modifier="bordered">
|
<TableCell modifier="bordered">
|
||||||
<Link
|
<Link
|
||||||
data-testid="block-validator"
|
data-testid="block-validator"
|
||||||
className="text-vega-yellow"
|
className="text-vega-yellow font-mono"
|
||||||
to={'/validators'}
|
to={'/validators'}
|
||||||
>
|
>
|
||||||
{header.proposer_address}
|
{header.proposer_address}
|
||||||
|
Loading…
Reference in New Issue
Block a user