Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions app/vibenet/demos/account/AccountDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3718,21 +3718,21 @@ function ResultPanel({ result, chain, copied, copy }: ResultPanelProps) {
href={native ? `${VIBENET_EXPLORER_PATH}/tx/${result.txHash}` : basescanTx(result.txHash)}
target={native ? undefined : '_blank'}
rel="noopener"
className="flex items-center gap-2 font-mono text-[13px] text-base-blue hover:underline dark:text-bds-blue-20"
className="flex flex-wrap items-center gap-2 font-mono text-[13px] text-base-blue hover:underline dark:text-bds-blue-20"
>
<code>{short(result.txHash, 16, 12)}</code>
<span className="text-[11px] uppercase tracking-[0.4px]">
<code className="break-all">{short(result.txHash, 16, 12)}</code>
<span className="shrink-0 text-[11px] uppercase tracking-[0.4px]">
{native ? 'Explorer ↗' : 'Basescan ↗'}
</span>
</a>
) : result.serialized ? (
<button
type="button"
onClick={() => copy(result.serialized as string, 'res')}
className="flex items-center gap-2 text-left font-mono text-[13px] text-base-blue dark:text-bds-blue-20"
className="flex flex-wrap items-center gap-2 text-left font-mono text-[13px] text-base-blue dark:text-bds-blue-20"
>
<code>{short(result.serialized, 16, 12)}</code>
<span className="text-[11px] uppercase tracking-[0.4px]">
<code className="break-all">{short(result.serialized, 16, 12)}</code>
<span className="shrink-0 text-[11px] uppercase tracking-[0.4px]">
{copied === 'res' ? 'Copied' : 'copy raw tx'}
</span>
</button>
Expand Down
6 changes: 3 additions & 3 deletions app/vibenet/demos/account/components/AppsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ function SpendingAccountLive({
type="button"
onClick={() => copy(sub.address, 'vault')}
title="Copy account address"
className="flex w-fit items-center gap-2 text-left"
className="flex min-w-0 max-w-full items-center gap-2 text-left"
>
<code className="font-mono text-[13px] text-base-blue dark:text-bds-blue-20">
<code className="min-w-0 truncate font-mono text-[13px] text-base-blue dark:text-bds-blue-20">
{short(sub.address)}
</code>
<span className="text-[11px] uppercase tracking-[0.4px] text-bds-gray-50">
<span className="shrink-0 text-[11px] uppercase tracking-[0.4px] text-bds-gray-50">
{copied === 'vault' ? 'copied!' : 'tap to copy'}
</span>
</button>
Expand Down
10 changes: 5 additions & 5 deletions app/vibenet/demos/account/components/ConfigView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@ export function ConfigView(p: ConfigViewProps) {
type="button"
onClick={() => p.copy(acct.address, 'cfg')}
title="Copy address"
className="flex w-fit items-center gap-2 text-left"
className="flex min-w-0 max-w-full items-center gap-2 text-left"
>
<code className="truncate font-mono text-[13px] text-base-blue dark:text-bds-blue-20">
<code className="min-w-0 truncate font-mono text-[13px] text-base-blue dark:text-bds-blue-20">
{acct.address}
</code>
<span className="text-[11px] uppercase tracking-[0.4px] text-bds-gray-50">
<span className="shrink-0 text-[11px] uppercase tracking-[0.4px] text-bds-gray-50">
{p.copied === 'cfg' ? 'Copied' : 'copy'}
</span>
</button>
Expand Down Expand Up @@ -467,10 +467,10 @@ function OwnersTab({ p }: { p: ConfigViewProps }) {
{p.configTx && TX_HASH_RE.test(p.configTx.hash) ? (
<Link
href={`${VIBENET_EXPLORER_PATH}/tx/${p.configTx.hash}`}
className="flex items-center gap-2 font-mono text-[12px] text-base-blue hover:underline dark:text-bds-blue-20"
className="flex flex-wrap items-center gap-2 font-mono text-[12px] text-base-blue hover:underline dark:text-bds-blue-20"
>
<Badge tone="ok">✓ {p.configTx.label} landed</Badge>
<code>{short(p.configTx.hash, 14, 12)}</code>
<code className="break-all">{short(p.configTx.hash, 14, 12)}</code>
</Link>
) : null}
</div>
Expand Down