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) { <div class="text-indigo-700 text-6xl leading-tight"> ${truncatedQuestion} </div> - <div class="flex flex-col text-primary text-center"> + <div class="flex flex-col text-primary"> <div class="text-8xl">${probability}</div> - <span class='text-blue-400'> + <div class="text-4xl">${probability !== '' ? 'chance' : ''}</div> + <span class='text-blue-500 text-center'> <div class="text-8xl ">${ numericValue !== '' && probability === '' ? numericValue : '' }</div> <div class="text-4xl">${numericValue !== '' ? 'expected' : ''}</div> </span> - <div class="text-4xl">${probability !== '' ? 'chance' : ''}</div> </div> </div>