From 8d65904e335fbd940648510dc78cb2c725a5df84 Mon Sep 17 00:00:00 2001 From: veerababu1729 <20A91A0546@aec.edu.in> Date: Mon, 20 Oct 2025 20:26:58 +0530 Subject: [PATCH] (frontend) fix new document button text wrapping in german Prevent text wrapping in New Document button when German language is selected. Added CSS rules to ensure button text displays on single line for all languages. Fixes issue #1490. Signed-off-by: veerababu1729 <20A91A0546@aec.edu.in> --- src/frontend/apps/impress/src/pages/globals.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/frontend/apps/impress/src/pages/globals.css b/src/frontend/apps/impress/src/pages/globals.css index dbda305580..cae053680f 100644 --- a/src/frontend/apps/impress/src/pages/globals.css +++ b/src/frontend/apps/impress/src/pages/globals.css @@ -103,3 +103,9 @@ nextjs-portal { white-space: nowrap !important; border: 0 !important; } + +/* Fix for New Document button text wrapping issue */ +[data-testid="new-doc-button"] { + white-space: nowrap !important; + min-width: fit-content !important; +}