From 8d7f512248abb4e7d411b7c6741d77bd3f26e7e4 Mon Sep 17 00:00:00 2001 From: jahooma Date: Mon, 13 Dec 2021 22:54:51 -0600 Subject: [PATCH] More layout / style tweaks --- web/components/bet-panel.tsx | 2 +- web/components/contract-overview.tsx | 6 +++--- web/components/resolution-panel.tsx | 2 +- web/components/yes-no-selector.tsx | 2 +- web/pages/contract/[contractId].tsx | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx index e8dab680..5aa9e9a0 100644 --- a/web/components/bet-panel.tsx +++ b/web/components/bet-panel.tsx @@ -66,7 +66,7 @@ export function BetPanel(props: { contract: Contract; className?: string }) { return ( diff --git a/web/components/contract-overview.tsx b/web/components/contract-overview.tsx index ae34c36f..30b9c747 100644 --- a/web/components/contract-overview.tsx +++ b/web/components/contract-overview.tsx @@ -20,7 +20,7 @@ export const ContractOverview = (props: { return ( - +
{contract.question}
@@ -39,11 +39,11 @@ export const ContractOverview = (props: {
- + {probPercent}
chance
- + diff --git a/web/components/resolution-panel.tsx b/web/components/resolution-panel.tsx index fd612caf..acdd38e7 100644 --- a/web/components/resolution-panel.tsx +++ b/web/components/resolution-panel.tsx @@ -34,7 +34,7 @@ export function ResolutionPanel(props: { return ( diff --git a/web/components/yes-no-selector.tsx b/web/components/yes-no-selector.tsx index f6e2fb61..f0258295 100644 --- a/web/components/yes-no-selector.tsx +++ b/web/components/yes-no-selector.tsx @@ -80,7 +80,7 @@ function Button(props: { color === 'green' && 'btn-primary', color === 'red' && 'bg-red-400 hover:bg-red-500', color === 'yellow' && 'bg-yellow-400 hover:bg-yellow-500', - color === 'gray' && 'text-gray-700 bg-gray-300 hover:bg-gray-400', + color === 'gray' && 'text-gray-700 bg-gray-200 hover:bg-gray-300', className )} onClick={onClick} diff --git a/web/pages/contract/[contractId].tsx b/web/pages/contract/[contractId].tsx index 50eb63a6..83f696a5 100644 --- a/web/pages/contract/[contractId].tsx +++ b/web/pages/contract/[contractId].tsx @@ -30,10 +30,10 @@ export default function ContractPage() {
- - + + -
+
{isCreator ? (