@@ -116,7 +116,8 @@ const BlockDetails = ({ query }: Props) => {
116116 const txsNum = ( ( ) => {
117117 const blockTxsNum = (
118118 < Link href = { route ( { pathname : '/block/[height_or_hash]' , query : { height_or_hash : heightOrHash , tab : 'txs' } } , multichainContext ) } >
119- { data . transactions_count } txn{ data . transactions_count === 1 ? '' : 's' }
119+ < Text fontFamily = "var(--kda-typography-family-monospace-font)" > { data . transactions_count } </ Text >
120+ < Text > txn{ data . transactions_count === 1 ? '' : 's' } </ Text >
120121 </ Link >
121122 ) ;
122123
@@ -158,7 +159,7 @@ const BlockDetails = ({ query }: Props) => {
158159 { blockTypeLabel } height
159160 </ DetailedInfo . ItemLabel >
160161 < DetailedInfo . ItemValue >
161- < Skeleton loading = { isPlaceholderData } >
162+ < Skeleton loading = { isPlaceholderData } fontFamily = "var(--kda-typography-family-monospace-font)" >
162163 { data . height }
163164 </ Skeleton >
164165 { data . height === 0 && < Text whiteSpace = "pre" > - Genesis Block</ Text > }
@@ -196,7 +197,7 @@ const BlockDetails = ({ query }: Props) => {
196197 </ DetailedInfo . ItemLabel >
197198 < DetailedInfo . ItemValue >
198199 { data . arbitrum . batch_number ?
199- < BatchEntityL2 isLoading = { isPlaceholderData } number = { data . arbitrum . batch_number } /> :
200+ < BatchEntityL2 isLoading = { isPlaceholderData } number = { data . arbitrum . batch_number } fontFamily = "var(--kda-typography-family-monospace-font)" /> :
200201 < Skeleton loading = { isPlaceholderData } > Pending</ Skeleton > }
201202 </ DetailedInfo . ItemValue >
202203 </ >
@@ -212,7 +213,7 @@ const BlockDetails = ({ query }: Props) => {
212213 </ DetailedInfo . ItemLabel >
213214 < DetailedInfo . ItemValue columnGap = { 3 } >
214215 { data . optimism . number ?
215- < BatchEntityL2 isLoading = { isPlaceholderData } number = { data . optimism . number } /> :
216+ < BatchEntityL2 isLoading = { isPlaceholderData } number = { data . optimism . number } fontFamily = "var(--kda-typography-family-monospace-font)" /> :
216217 < Skeleton loading = { isPlaceholderData } > Pending</ Skeleton > }
217218 { data . optimism . batch_data_container && (
218219 < OptimisticL2TxnBatchDA
@@ -231,7 +232,7 @@ const BlockDetails = ({ query }: Props) => {
231232 Size
232233 </ DetailedInfo . ItemLabel >
233234 < DetailedInfo . ItemValue >
234- < Skeleton loading = { isPlaceholderData } >
235+ < Skeleton loading = { isPlaceholderData } fontFamily = "var(--kda-typography-family-monospace-font)" >
235236 { data . size . toLocaleString ( ) }
236237 </ Skeleton >
237238 </ DetailedInfo . ItemValue >
@@ -267,7 +268,7 @@ const BlockDetails = ({ query }: Props) => {
267268 Withdrawals
268269 </ DetailedInfo . ItemLabel >
269270 < DetailedInfo . ItemValue >
270- < Skeleton loading = { isPlaceholderData } >
271+ < Skeleton loading = { isPlaceholderData } fontFamily = "var(--kda-typography-family-monospace-font)" >
271272 < Link href = { route ( { pathname : '/block/[height_or_hash]' , query : { height_or_hash : heightOrHash , tab : 'withdrawals' } } , multichainContext ) } >
272273 { data . withdrawals_count } withdrawal{ data . withdrawals_count === 1 ? '' : 's' }
273274 </ Link >
@@ -286,7 +287,7 @@ const BlockDetails = ({ query }: Props) => {
286287 </ DetailedInfo . ItemLabel >
287288 < DetailedInfo . ItemValue >
288289 { data . zksync . batch_number ?
289- < BatchEntityL2 isLoading = { isPlaceholderData } number = { data . zksync . batch_number } /> :
290+ < BatchEntityL2 isLoading = { isPlaceholderData } number = { data . zksync . batch_number } fontFamily = "var(--kda-typography-family-monospace-font)" /> :
290291 < Skeleton loading = { isPlaceholderData } > Pending</ Skeleton > }
291292 </ DetailedInfo . ItemValue >
292293 </ >
@@ -381,7 +382,7 @@ const BlockDetails = ({ query }: Props) => {
381382 Block reward
382383 </ DetailedInfo . ItemLabel >
383384 < DetailedInfo . ItemValue columnGap = { 1 } >
384- < Skeleton loading = { isPlaceholderData } >
385+ < Skeleton loading = { isPlaceholderData } fontFamily = "var(--kda-typography-family-monospace-font)" >
385386 { totalReward . dividedBy ( WEI ) . toFixed ( ) } { currencyUnits . ether }
386387 </ Skeleton >
387388 { rewardBreakDown }
@@ -398,7 +399,7 @@ const BlockDetails = ({ query }: Props) => {
398399 >
399400 { type }
400401 </ DetailedInfo . ItemLabel >
401- < DetailedInfo . ItemValue >
402+ < DetailedInfo . ItemValue fontFamily = "var(--kda-typography-family-monospace-font)" >
402403 { BigNumber ( reward ) . dividedBy ( WEI ) . toFixed ( ) } { currencyUnits . ether }
403404 </ DetailedInfo . ItemValue >
404405 </ React . Fragment >
@@ -414,7 +415,7 @@ const BlockDetails = ({ query }: Props) => {
414415 View
415416 </ DetailedInfo . ItemLabel >
416417 < DetailedInfo . ItemValue >
417- < Skeleton loading = { isPlaceholderData } >
418+ < Skeleton loading = { isPlaceholderData } fontFamily = "var(--kda-typography-family-monospace-font)" >
418419 { data . zilliqa . view }
419420 </ Skeleton >
420421 </ DetailedInfo . ItemValue >
@@ -432,7 +433,7 @@ const BlockDetails = ({ query }: Props) => {
432433 Gas used
433434 </ DetailedInfo . ItemLabel >
434435 < DetailedInfo . ItemValue >
435- < Skeleton loading = { isPlaceholderData } >
436+ < Skeleton loading = { isPlaceholderData } fontFamily = "var(--kda-typography-family-monospace-font)" >
436437 { BigNumber ( data . gas_used || 0 ) . toFormat ( ) }
437438 </ Skeleton >
438439 < BlockGasUsed
@@ -451,7 +452,7 @@ const BlockDetails = ({ query }: Props) => {
451452 Gas limit
452453 </ DetailedInfo . ItemLabel >
453454 < DetailedInfo . ItemValue >
454- < Skeleton loading = { isPlaceholderData } >
455+ < Skeleton loading = { isPlaceholderData } fontFamily = "var(--kda-typography-family-monospace-font)" >
455456 { BigNumber ( data . gas_limit ) . toFormat ( ) }
456457 </ Skeleton >
457458 </ DetailedInfo . ItemValue >
@@ -465,7 +466,7 @@ const BlockDetails = ({ query }: Props) => {
465466 Minimum gas price
466467 </ DetailedInfo . ItemLabel >
467468 < DetailedInfo . ItemValue >
468- < Skeleton loading = { isPlaceholderData } >
469+ < Skeleton loading = { isPlaceholderData } fontFamily = "var(--kda-typography-family-monospace-font)" >
469470 { BigNumber ( data . minimum_gas_price ) . dividedBy ( GWEI ) . toFormat ( ) } { currencyUnits . gwei }
470471 </ Skeleton >
471472 </ DetailedInfo . ItemValue >
@@ -485,8 +486,10 @@ const BlockDetails = ({ query }: Props) => {
485486 < Skeleton loading = { isPlaceholderData } h = "20px" maxW = "380px" w = "100%" />
486487 ) : (
487488 < >
488- < Text > { BigNumber ( data . base_fee_per_gas ) . dividedBy ( WEI ) . toFixed ( ) } { currencyUnits . ether } </ Text >
489- < Text color = "text.secondary" whiteSpace = "pre" >
489+ < Text fontFamily = "var(--kda-typography-family-monospace-font)" >
490+ { BigNumber ( data . base_fee_per_gas ) . dividedBy ( WEI ) . toFixed ( ) } { currencyUnits . ether }
491+ </ Text >
492+ < Text color = "text.secondary" whiteSpace = "pre" fontFamily = "var(--kda-typography-family-monospace-font)" >
490493 { space } ({ BigNumber ( data . base_fee_per_gas ) . dividedBy ( WEI_IN_GWEI ) . toFixed ( ) } { currencyUnits . gwei } )
491494 </ Text >
492495 </ >
@@ -508,7 +511,7 @@ const BlockDetails = ({ query }: Props) => {
508511 </ DetailedInfo . ItemLabel >
509512 < DetailedInfo . ItemValue >
510513 < IconSvg name = "flame" boxSize = { 5 } color = "gray.500" isLoading = { isPlaceholderData } />
511- < Skeleton loading = { isPlaceholderData } ml = { 2 } >
514+ < Skeleton loading = { isPlaceholderData } ml = { 2 } fontFamily = "var(--kda-typography-family-monospace-font)" >
512515 { burntFees . dividedBy ( WEI ) . toFixed ( ) } { currencyUnits . ether }
513516 </ Skeleton >
514517 { ! txFees . isEqualTo ( ZERO ) && (
@@ -517,6 +520,7 @@ const BlockDetails = ({ query }: Props) => {
517520 ml = { 4 }
518521 value = { burntFees . dividedBy ( txFees ) . toNumber ( ) }
519522 isLoading = { isPlaceholderData }
523+ fontFamily = "var(--kda-typography-family-monospace-font)"
520524 />
521525 </ Tooltip >
522526 ) }
@@ -533,7 +537,7 @@ const BlockDetails = ({ query }: Props) => {
533537 Priority fee / Tip
534538 </ DetailedInfo . ItemLabel >
535539 < DetailedInfo . ItemValue >
536- < Skeleton loading = { isPlaceholderData } >
540+ < Skeleton loading = { isPlaceholderData } fontFamily = "var(--kda-typography-family-monospace-font)" >
537541 { BigNumber ( data . priority_fee ) . dividedBy ( WEI ) . toFixed ( ) } { currencyUnits . ether }
538542 </ Skeleton >
539543 </ DetailedInfo . ItemValue >
@@ -689,7 +693,7 @@ const BlockDetails = ({ query }: Props) => {
689693 >
690694 Send count
691695 </ DetailedInfo . ItemLabel >
692- < DetailedInfo . ItemValue >
696+ < DetailedInfo . ItemValue fontFamily = "var(--kda-typography-family-monospace-font)" >
693697 { data . arbitrum . send_count . toLocaleString ( ) }
694698 </ DetailedInfo . ItemValue >
695699
@@ -699,7 +703,7 @@ const BlockDetails = ({ query }: Props) => {
699703 >
700704 Send root
701705 </ DetailedInfo . ItemLabel >
702- < DetailedInfo . ItemValue >
706+ < DetailedInfo . ItemValue fontFamily = "var(--kda-typography-family-monospace-font)" >
703707 { data . arbitrum . send_root }
704708 </ DetailedInfo . ItemValue >
705709
@@ -709,7 +713,7 @@ const BlockDetails = ({ query }: Props) => {
709713 >
710714 Delayed messages
711715 </ DetailedInfo . ItemLabel >
712- < DetailedInfo . ItemValue >
716+ < DetailedInfo . ItemValue fontFamily = "var(--kda-typography-family-monospace-font)" >
713717 { data . arbitrum . delayed_messages . toLocaleString ( ) }
714718 </ DetailedInfo . ItemValue >
715719 </ >
@@ -722,7 +726,7 @@ const BlockDetails = ({ query }: Props) => {
722726 >
723727 Nonce
724728 </ DetailedInfo . ItemLabel >
725- < DetailedInfo . ItemValue >
729+ < DetailedInfo . ItemValue fontFamily = "var(--kda-typography-family-monospace-font)" >
726730 { data . nonce }
727731 </ DetailedInfo . ItemValue >
728732 </ >
0 commit comments