From e893bc2685d47fbbf5cedf85f7e3bdc165c8ce36 Mon Sep 17 00:00:00 2001 From: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com> Date: Thu, 17 Aug 2023 17:20:18 -0400 Subject: [PATCH] fix: make line height bigger for token preview (#7186) * make line height bigger * Update [[index]].tsx --- functions/api/image/tokens/[[index]].tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/functions/api/image/tokens/[[index]].tsx b/functions/api/image/tokens/[[index]].tsx index 69a28591ab..c3f532e32f 100644 --- a/functions/api/image/tokens/[[index]].tsx +++ b/functions/api/image/tokens/[[index]].tsx @@ -123,7 +123,7 @@ export const onRequest: PagesFunction = async ({ params, request }) => { style={{ fontFamily: 'Inter', fontSize: '72px', - lineHeight: '58px', + lineHeight: '72px', marginLeft: '-5px', marginTop: '24px', }} @@ -145,6 +145,10 @@ export const onRequest: PagesFunction = async ({ params, request }) => { fontSize: '168px', lineHeight: '133px', marginLeft: '-13px', + overflow: 'hidden', + textOverflow: 'ellipsis', + whiteSpace: 'nowrap', + width: '100%', }} > {data.symbol}