From f4e1f51a9c8d059a09b27fa059853f3fbea191d5 Mon Sep 17 00:00:00 2001 From: Stevie Robinson Date: Sat, 27 Jul 2024 11:13:00 +0200 Subject: [PATCH] Fixed: Interactive Import dropdown width on mobile (cherry picked from commit f2f4a98eed5bc83224917897642a28381ca648b9) --- .../Interactive/InteractiveImportModalContent.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/InteractiveImport/Interactive/InteractiveImportModalContent.css b/frontend/src/InteractiveImport/Interactive/InteractiveImportModalContent.css index 3be9c8f36..b15e0196e 100644 --- a/frontend/src/InteractiveImport/Interactive/InteractiveImportModalContent.css +++ b/frontend/src/InteractiveImport/Interactive/InteractiveImportModalContent.css @@ -18,12 +18,17 @@ .leftButtons, .rightButtons { display: flex; - flex: 1 0 50%; flex-wrap: wrap; + min-width: 0; +} + +.leftButtons { + flex: 0 1 auto; } .rightButtons { justify-content: flex-end; + flex: 1 1 50%; } .deleteButton { @@ -37,6 +42,7 @@ composes: select from '~Components/Form/SelectInput.css'; margin-right: 10px; + max-width: 100%; width: auto; } @@ -49,10 +55,12 @@ .leftButtons, .rightButtons { flex-direction: column; + gap: 3px; } .leftButtons { align-items: flex-start; + max-width: fit-content; } .rightButtons {