From f47b70dd3c4ba7462a444a3681bc2ab4cd717e1d Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Fri, 5 Aug 2022 07:08:41 -0600 Subject: [PATCH] Darken numeric preview text --- 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 e7b4fcaf..f59740c5 100644 --- a/og-image/api/_lib/template.ts +++ b/og-image/api/_lib/template.ts @@ -148,15 +148,15 @@ export function getHtml(parsedReq: ParsedRequest) {
${truncatedQuestion}
-
+
${probability}
- +
${probability !== '' ? 'chance' : ''}
+
${ numericValue !== '' && probability === '' ? numericValue : '' }
${numericValue !== '' ? 'expected' : ''}
-
${probability !== '' ? 'chance' : ''}