From 08752d6e9255aa0c740acd1f11fe16f54d9afd30 Mon Sep 17 00:00:00 2001 From: LucasC Date: Thu, 12 Dec 2024 15:07:59 +0100 Subject: [PATCH] XWIKI-22626: Long file names collide with elements from the right side on Office Importer on Firefox * Fixed the overflow by adding a max-width. This is a safe change that will only act when there's an overflow. The regular use case shouldn't be influenced by this change. --- .../src/main/resources/XWiki/OfficeImporter.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xwiki-platform-core/xwiki-platform-office/xwiki-platform-office-ui/src/main/resources/XWiki/OfficeImporter.xml b/xwiki-platform-core/xwiki-platform-office/xwiki-platform-office-ui/src/main/resources/XWiki/OfficeImporter.xml index 66d9864395c7..cc45a0bcf04d 100644 --- a/xwiki-platform-core/xwiki-platform-office/xwiki-platform-office-ui/src/main/resources/XWiki/OfficeImporter.xml +++ b/xwiki-platform-core/xwiki-platform-office/xwiki-platform-office-ui/src/main/resources/XWiki/OfficeImporter.xml @@ -618,6 +618,11 @@ .xdocLastModification, #hierarchy.breadcrumb { display: none; +} + +/* Needed to avoid an overflow of the input with a long filename in Firefox zoomed above 100 percent.*/ +#officeImportForm #filePath { + max-width: 100%; }