diff --git a/app/src/components/CreateListingForm.tsx b/app/src/components/CreateListingForm.tsx index 88f7993..b0eb1a7 100644 --- a/app/src/components/CreateListingForm.tsx +++ b/app/src/components/CreateListingForm.tsx @@ -87,6 +87,9 @@ function CurrencyToggle({ }) { const active = (on: boolean): React.CSSProperties => ({ flex: 1, + display: 'flex', + alignItems: 'center', + justifyContent: 'center', padding: 11, borderRadius: 10, fontSize: 13, diff --git a/app/src/components/Dashboard.tsx b/app/src/components/Dashboard.tsx index f1f1000..981e6a4 100644 --- a/app/src/components/Dashboard.tsx +++ b/app/src/components/Dashboard.tsx @@ -168,7 +168,7 @@ export function Dashboard() { >
- {l.data.metadataUri || abbrev(l.address)} + Listing #{String(l.data.listingId)} {l.data.isActive ? 'Active' : 'Inactive'} @@ -182,7 +182,7 @@ export function Dashboard() { fontFamily: 'var(--font-mono)', }} > - #{String(l.data.listingId)} · {fmtSol(l.data.price)} · {avail}/ + {abbrev(l.address)} · {fmtSol(l.data.price)} · {avail}/ {String(l.data.quantity)} avail · {String(l.data.quantityReserved)} pending
diff --git a/app/src/components/EscrowsTable.tsx b/app/src/components/EscrowsTable.tsx index 4807fe3..04264f7 100644 --- a/app/src/components/EscrowsTable.tsx +++ b/app/src/components/EscrowsTable.tsx @@ -82,8 +82,8 @@ export function EscrowsTable() { borderRadius: 7, fontSize: 12.5, fontWeight: 600, - color: filter === f.key ? 'var(--tx)' : 'var(--mut)', - background: filter === f.key ? 'var(--bg2)' : 'transparent', + color: filter === f.key ? '#0b0613' : 'var(--mut)', + background: filter === f.key ? 'linear-gradient(135deg,var(--acc),var(--acc2))' : 'transparent', border: 'none', cursor: 'pointer', whiteSpace: 'nowrap', diff --git a/app/src/components/ListingDetail.tsx b/app/src/components/ListingDetail.tsx index 1d07fa2..47837f4 100644 --- a/app/src/components/ListingDetail.tsx +++ b/app/src/components/ListingDetail.tsx @@ -54,16 +54,22 @@ export function ListingDetail({ pk, walletAddress, onUpdate, onClose, onPlaceOrd LISTING ACCOUNT · #{String(d.listingId)}

- {d.metadataUri || abbrev(pk)} + {abbrev(pk)}

{d.isActive ? 'Active' : 'Inactive'} + {d.metadataUri && ( +

+ {d.metadataUri} +

+ )}
{/* Left: account fields */}
ACCOUNT FIELDS
+ navigator.clipboard.writeText(pk)} /> #{String(d.listingId)} navigator.clipboard.writeText(d.seller)} onClick={() => router.push(`/search?q=${d.seller}`)} /> {fmtListingPrice()} @@ -137,7 +143,7 @@ export function ListingDetail({ pk, walletAddress, onUpdate, onClose, onPlaceOrd
)} - {canPlace && } + {canPlace && } {!walletAddress &&
Connect a wallet to place an order or manage this listing.
} {walletAddress && !isSeller && !canPlace &&
No actions available — listing is inactive or out of stock.
}
diff --git a/app/src/components/ListingsTable.tsx b/app/src/components/ListingsTable.tsx index 7c1c722..9e31dc4 100644 --- a/app/src/components/ListingsTable.tsx +++ b/app/src/components/ListingsTable.tsx @@ -59,15 +59,27 @@ export function ListingsTable() { style={{ height: 38, width: 220, padding: '0 13px', background: 'var(--bg3)', border: '1px solid var(--bd)', borderRadius: 10, fontSize: 13, fontFamily: 'var(--font-mono)', outline: 'none' }} />
- {FILTERS.map((f) => ( - - ))} + {FILTERS.map((f) => { + const active = filter === f.key + return ( + + ) + })}
diff --git a/app/src/components/Nav.tsx b/app/src/components/Nav.tsx index 9127ef1..d8dcbb6 100644 --- a/app/src/components/Nav.tsx +++ b/app/src/components/Nav.tsx @@ -147,6 +147,9 @@ export function Nav() { })} + {/* Spacer — pushes right-side controls to the edge */} +
+ {/* Network picker */}