From 735bb08081f491d7afe71a5d049ae8949e7ddde2 Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Wed, 28 May 2025 22:20:24 +0200 Subject: [PATCH] Adapt width to language --- src/components/Desktop/DesktopFooter.tsx | 3 +++ src/components/Desktop/DesktopLeftSideBar.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Desktop/DesktopFooter.tsx b/src/components/Desktop/DesktopFooter.tsx index 3441cf6..23bd474 100644 --- a/src/components/Desktop/DesktopFooter.tsx +++ b/src/components/Desktop/DesktopFooter.tsx @@ -43,6 +43,9 @@ export const IconWrapper = ({ fontFamily: 'Inter', fontSize: '12px', fontWeight: 500, + whiteSpace: 'nowrap', + overflow: 'hidden', + textOverflow: 'ellipsis', }} > {label} diff --git a/src/components/Desktop/DesktopLeftSideBar.tsx b/src/components/Desktop/DesktopLeftSideBar.tsx index 75f4f76..99e570b 100644 --- a/src/components/Desktop/DesktopLeftSideBar.tsx +++ b/src/components/Desktop/DesktopLeftSideBar.tsx @@ -46,7 +46,7 @@ export const DesktopSideBar = ({ flexDirection: 'column', gap: '25px', height: '100vh', - width: '60px', + width: 'auto', // must adapt to the choosen language }} >