diff --git a/web/components/feed/feed-items.tsx b/web/components/feed/feed-items.tsx index befb7c06..db526741 100644 --- a/web/components/feed/feed-items.tsx +++ b/web/components/feed/feed-items.tsx @@ -711,10 +711,11 @@ function FeedAnswerGroup(props: { {probPercent} { - setOpen(true) - }} + className={clsx( + 'btn-sm hidden flex-initial !px-6 sm:flex', + tradingAllowed(contract) ? '' : '!hidden' + )} + onClick={() => setOpen(true)} /> @@ -741,12 +742,12 @@ function FeedAnswerGroup(props: { ))} -
+
{ - setOpen(true) - }} + onClick={() => setOpen(true)} />