From ec7263da184cb2558c24eee3e439f7be46066a7c Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Mon, 15 Aug 2022 22:08:09 -0700 Subject: [PATCH] fix firefox visual glitch - single card wrapping --- web/components/contract/contracts-grid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/contract/contracts-grid.tsx b/web/components/contract/contracts-grid.tsx index 915facd9..e280e4f0 100644 --- a/web/components/contract/contracts-grid.tsx +++ b/web/components/contract/contracts-grid.tsx @@ -81,7 +81,7 @@ export function ContractsGrid(props: { hideQuickBet={hideQuickBet} hideGroupLink={hideGroupLink} className={clsx( - 'break-inside-avoid-column', + 'break-inside-avoid-column overflow-hidden', // prevent content from wrapping (needs overflow on firefox) contractIds?.includes(contract.id) && highlightClassName )} />