From ee91a94466a3ae1b0f367977fa34d532b092669d Mon Sep 17 00:00:00 2001 From: Marshall Polaris Date: Sun, 15 May 2022 14:10:26 -0700 Subject: [PATCH] Clean up some bet panel markup and CSS (#231) * Tidy up probability change markup * Tidy up payout markup --- web/components/bet-panel.tsx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx index 8fba3bf7..e02e14d0 100644 --- a/web/components/bet-panel.tsx +++ b/web/components/bet-panel.tsx @@ -321,11 +321,11 @@ function BuyPanel(props: {
Probability
- -
{formatPercent(initialProb)}
-
-
{formatPercent(resultProb)}
-
+
+ {formatPercent(initialProb)} + + {formatPercent(resultProb)} +
@@ -350,12 +350,12 @@ function BuyPanel(props: { {dpmTooltip && } - - +
+ {formatMoney(currentPayout)} - (+{currentReturnPercent}) - + (+{currentReturnPercent}) +
@@ -459,11 +459,11 @@ export function SellPanel(props: {
Probability
- -
{formatPercent(initialProb)}
-
-
{formatPercent(resultProb)}
-
+
+ {formatPercent(initialProb)} + + {formatPercent(resultProb)} +