diff --git a/web/components/contract/contract-card.tsx b/web/components/contract/contract-card.tsx index 4bf6f4d7..43557b81 100644 --- a/web/components/contract/contract-card.tsx +++ b/web/components/contract/contract-card.tsx @@ -38,6 +38,7 @@ export function ContractCard(props: { showHotVolume?: boolean showTime?: ShowTime className?: string + questionClass?: string onClick?: () => void hideQuickBet?: boolean hideGroupLink?: boolean @@ -46,6 +47,7 @@ export function ContractCard(props: { showHotVolume, showTime, className, + questionClass, onClick, hideQuickBet, hideGroupLink, @@ -105,7 +107,7 @@ export function ContractCard(props: { className={'hidden md:inline-flex'} />

{question} diff --git a/web/pages/tournament/index.tsx b/web/pages/tournament/index.tsx index b9f32d8d..d6bcf976 100644 --- a/web/pages/tournament/index.tsx +++ b/web/pages/tournament/index.tsx @@ -167,7 +167,8 @@ function Section(props: { contract={m} showHotVolume hideGroupLink - className="shrink-0" + className="max-h-[148px] w-96 shrink-0" + questionClass="line-clamp-2" /> )) ) : (