From 43c21bebd712c5dd69a44f3073dc836c6cfb5a32 Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Mon, 1 Aug 2022 11:02:27 -0600 Subject: [PATCH] Challenge card styling --- og-image/api/_lib/template.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/og-image/api/_lib/template.ts b/og-image/api/_lib/template.ts index e7d2178b..9afcff28 100644 --- a/og-image/api/_lib/template.ts +++ b/og-image/api/_lib/template.ts @@ -149,18 +149,18 @@ export function getHtml(parsedReq: ParsedRequest) {
- ${challengeAmount ? 'CHALLENGE BET:' : ''} + ${challengeAmount ? 'I challenge you:\n' : ''} ${truncatedQuestion}
-
${ +
${ challengeAmount ? 'M$' + challengeAmount : probability }
${challengeOutcome ? 'on' : ''}
-
${challengeOutcome ?? ''}
+
${challengeOutcome ?? ''}
${ probability !== '' ? 'chance' : ''