From a228663059728415603dad8dfe0b4d331db055c9 Mon Sep 17 00:00:00 2001 From: Gido Manders Date: Fri, 22 Sep 2023 18:03:54 +0200 Subject: [PATCH] improvement: scrollable modal We currently only allow a sticky footer, but the Bootstrap modal also has the ability to make the content scrollable. Added scrollable to modal --- .../__snapshots__/ConfirmModal.test.tsx.snap | 8 +++---- src/core/Modal/Modal.scss | 18 --------------- src/core/Modal/Modal.test.tsx | 22 +++++++++++++------ src/core/Modal/Modal.tsx | 2 +- .../Modal/__snapshots__/Modal.test.tsx.snap | 12 +++++----- .../OpenCloseModal/OpenCloseModal.test.tsx | 13 ++++++++--- src/core/OpenCloseModal/OpenCloseModal.tsx | 2 +- .../OpenCloseModal.test.tsx.snap | 8 +++---- src/main.scss | 1 - 9 files changed, 41 insertions(+), 45 deletions(-) delete mode 100644 src/core/Modal/Modal.scss diff --git a/src/core/ConfirmModal/__snapshots__/ConfirmModal.test.tsx.snap b/src/core/ConfirmModal/__snapshots__/ConfirmModal.test.tsx.snap index 744f44a2a..8ad4d3853 100644 --- a/src/core/ConfirmModal/__snapshots__/ConfirmModal.test.tsx.snap +++ b/src/core/ConfirmModal/__snapshots__/ConfirmModal.test.tsx.snap @@ -6,7 +6,7 @@ exports[`Component: ConfirmModal ui custom texts 1`] = ` tabindex="-1" >