changes
This commit is contained in:
parent
b9108d6b82
commit
99c04e3dfd
|
@ -12,7 +12,7 @@ import { track } from 'web/lib/service/analytics'
|
|||
export function embedContractCode(contract: Contract) {
|
||||
const title = contract.question
|
||||
const src = `https://${DOMAIN}/embed${contractPath(contract)}`
|
||||
return `<iframe src="${src}" title="${title}" frameborder="0"></iframe>`
|
||||
return `<iframe src="${src}" title="${title}"></iframe>`
|
||||
}
|
||||
|
||||
export function embedContractGridCode(contracts: Contract[]) {
|
||||
|
|
|
@ -105,7 +105,7 @@ export function ContractEmbed(props: { contract: Contract; bets: Bet[] }) {
|
|||
{question}
|
||||
</SiteLink>
|
||||
<Row>
|
||||
<div className="mx-1 mb-2 min-h-0 flex-1" ref={setElem}>
|
||||
<div className="min-h-150 mx-1 mb-2 h-full flex-1" ref={setElem}>
|
||||
<ContractChart contract={contract} bets={bets} height={150} />
|
||||
</div>
|
||||
<QuickBet
|
||||
|
|
Loading…
Reference in New Issue
Block a user