Fix janky horizontal scrollbar on home on mobile

This commit is contained in:
James Grugett 2022-05-31 20:07:26 -05:00
parent a840143990
commit b236ebdbd9

View File

@ -65,9 +65,7 @@ export function ContractCard(props: {
<Col className="relative flex-1 gap-3 pr-1"> <Col className="relative flex-1 gap-3 pr-1">
<div <div
className={clsx( className={clsx(
'peer absolute -left-6 -top-4 -bottom-4 z-10', 'peer absolute -left-6 -top-4 -bottom-4 right-0 z-10'
// Hack: Extend the clickable area for closed markets
showQuickBet ? 'right-0' : 'right-[-6.5rem]'
)} )}
> >
<Link href={contractPath(contract)}> <Link href={contractPath(contract)}>