From 7df69dda4d3ec524ee3be8f4f1ba321bbb345905 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Sun, 20 Mar 2022 18:17:37 -0500 Subject: [PATCH] Embedded market: Make only top section a link --- web/pages/embed/[username]/[contractSlug].tsx | 32 +++++++++++-------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/web/pages/embed/[username]/[contractSlug].tsx b/web/pages/embed/[username]/[contractSlug].tsx index 9a346ef8..8b40b2e7 100644 --- a/web/pages/embed/[username]/[contractSlug].tsx +++ b/web/pages/embed/[username]/[contractSlug].tsx @@ -86,25 +86,29 @@ function ContractEmbed(props: { contract: Contract; bets: Bet[] }) { const href = `https://${DOMAIN}${contractPath(contract)}` return ( - - + + + -
- -
+
+ +
- + - - + + - {(isBinary || resolution) && } - + {(isBinary || resolution) && ( + + )} + - + +
{isBinary ? (