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 = ({