From c2864378edfdfe39088368d5b860425f5d59ff98 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Mon, 6 Jul 2026 17:46:12 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(frontend)=20fix=20CTA=20on=20move?= =?UTF-8?q?=20modal=20on=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On some mobile devices, the CTA button on the move modal was not visible due to a CSS issue. This commit fixes the issue by adjusting the modal's layout and ensuring that the CTA buttons are visible. --- CHANGELOG.md | 1 + .../docs/docs-grid/components/DocMoveModal.tsx | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06ab7459e..34cb89ce9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ and this project adheres to - 🐛(backend) update restore ability for inherited deletion #2148 - 🔧(dev) make the dev stack domain-agnostic #2498 - 🐛(frontend) stop force index redirect when delete doc #2490 +- 🐛(frontend) fix CTA on move modal on mobile #2502 ### Removed diff --git a/src/frontend/apps/impress/src/features/docs/docs-grid/components/DocMoveModal.tsx b/src/frontend/apps/impress/src/features/docs/docs-grid/components/DocMoveModal.tsx index 2e7de075f..4e7e787e5 100644 --- a/src/frontend/apps/impress/src/features/docs/docs-grid/components/DocMoveModal.tsx +++ b/src/frontend/apps/impress/src/features/docs/docs-grid/components/DocMoveModal.tsx @@ -39,7 +39,15 @@ const ModalConfirmationMoveDoc = dynamic( export const DocMoveModalStyle = createGlobalStyle` .c__modal--full .c__modal__scroller { - height: 100vh; + height: 100dvh; + } + + .c__modal--full .c__modal__content { + flex-grow: 0; + } + + .c__modal--full .c__modal__footer { + flex-shrink: 0; } .c__modal__scroller:has(.quick-search-container){ @@ -209,7 +217,7 @@ export const DocMoveModal = ({