From 6b38a3c996562da9e58e068a45a9762925e286e9 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Tue, 25 Mar 2025 13:35:58 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84(frontend)=20center=20titles=20in?= =?UTF-8?q?=20prejoin=20components?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In non-French languages, the title may be long enough to span two lines. Ensure the text is centered. --- src/frontend/src/features/rooms/components/Join.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontend/src/features/rooms/components/Join.tsx b/src/frontend/src/features/rooms/components/Join.tsx index 318fbd72..914d1d3e 100644 --- a/src/frontend/src/features/rooms/components/Join.tsx +++ b/src/frontend/src/features/rooms/components/Join.tsx @@ -298,7 +298,7 @@ export const Join = ({ case ApiLobbyStatus.TIMEOUT: return ( - + {t('timeoutInvite.title')} @@ -310,7 +310,7 @@ export const Join = ({ case ApiLobbyStatus.DENIED: return ( - + {t('denied.title')} @@ -322,7 +322,7 @@ export const Join = ({ case ApiLobbyStatus.WAITING: return ( - + {t('waiting.title')} - + {t('heading')}