From ed73bef012114b6a418db418ea9039200fb35bf2 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Mon, 16 May 2022 19:07:35 -0400 Subject: [PATCH] Righbar always starts from the bottom --- web/components/contract/contract-card.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/web/components/contract/contract-card.tsx b/web/components/contract/contract-card.tsx index 0e01fa1e..87186743 100644 --- a/web/components/contract/contract-card.tsx +++ b/web/components/contract/contract-card.tsx @@ -27,7 +27,7 @@ import { getOutcomeProbability, getTopAnswer } from 'common/calculate' import { AbbrContractDetails } from './contract-details' // Return a number from 0 to 1 for this contract -// Resolved contracts are set to 1, for coloring purposes +// Resolved contracts are set to 1, for coloring purposes (even if NO) function getProb(contract: Contract) { const { outcomeType, resolution } = contract return resolution @@ -118,18 +118,18 @@ export function ContractCard(props: {