From 376c398932edac1b3317a1fdc6fd8708f506925c Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Wed, 28 May 2025 22:40:40 +0200 Subject: [PATCH] Adapt width to language --- docs/i18n_languages.md | 2 +- src/components/Apps/AppsDesktop.tsx | 2 +- src/components/Apps/AppsDevModeHome.tsx | 3 +++ src/components/Apps/AppsHomeDesktop.tsx | 4 +++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/i18n_languages.md b/docs/i18n_languages.md index 90330ca..d98bfd5 100644 --- a/docs/i18n_languages.md +++ b/docs/i18n_languages.md @@ -20,7 +20,7 @@ Translation in GUI: - For all translation in uppercase `{ postProcess: 'capitalizeAll' }` - See `.src/i18n/i18n.ts` for processor definition -## Namespace +## Namespaces These are the current namespaces, in which all translations are organized: diff --git a/src/components/Apps/AppsDesktop.tsx b/src/components/Apps/AppsDesktop.tsx index 1b1b72f..5297e59 100644 --- a/src/components/Apps/AppsDesktop.tsx +++ b/src/components/Apps/AppsDesktop.tsx @@ -357,7 +357,7 @@ export const AppsDesktop = ({ flexDirection: 'column', gap: '25px', height: '100vh', - width: '60px', + width: 'auto', // must adapt to the choosen language }} > + + {t('core:directory', { postProcess: 'capitalizeFirstChar' })} @@ -499,6 +500,7 @@ export const AppsDevModeHome = ({ postProcess: 'capitalizeFirstChar', })} + + + );