add light theme support, underline links to block detail
This commit is contained in:
@@ -57,7 +57,7 @@ export const BlockPopover: FC<{ hash: string }> = ({ hash }) => {
|
||||
Block
|
||||
<Link
|
||||
to={hash}
|
||||
className="font-mono font-normal text-primary/70 hover:text-primary"
|
||||
className="font-mono font-normal text-primary/70 hover:text-primary underline"
|
||||
>
|
||||
{hash.slice(0, 18)}…
|
||||
</Link>
|
||||
|
||||
@@ -266,7 +266,7 @@ const BlockLink: FC<{ hash: string }> = ({ hash }) => {
|
||||
|
||||
return (
|
||||
<Link
|
||||
className="text-primary/70 hover:text-primary align-middle inline-flex items-center gap-1"
|
||||
className="text-primary/70 hover:text-primary align-middle inline-flex items-center gap-1 underline"
|
||||
to={`../${hash}`}
|
||||
>
|
||||
{<BlockStatusIcon state={block.status} size={20} />}
|
||||
|
||||
@@ -13,7 +13,7 @@ export const EventPopover: FC<{ event: EventInfo }> = ({ event }) => {
|
||||
Event{" "}
|
||||
<Link
|
||||
to={`${event.hash}#event=${event.index}`}
|
||||
className="text-primary/70 hover:text-primary"
|
||||
className="text-primary/70 hover:text-primary underline"
|
||||
>
|
||||
{eventKey(event)}
|
||||
</Link>
|
||||
|
||||
@@ -2,7 +2,7 @@ import { groupBy } from "@/lib/groupBy"
|
||||
import type { SystemEvent } from "@polkadot-api/observable-client"
|
||||
import { state } from "@react-rxjs/core"
|
||||
import { combineKeys } from "@react-rxjs/utils"
|
||||
import { filter, map, takeWhile, tap } from "rxjs"
|
||||
import { filter, map, takeWhile } from "rxjs"
|
||||
import { blockInfo$, BlockState, recordedBlocks$ } from "./block.state"
|
||||
import { MAX_LENGTH } from "./BlockTable"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user