From c25d9c968e17346d87791662415ae2709fed26d8 Mon Sep 17 00:00:00 2001 From: George Marshall Date: Wed, 6 Sep 2023 16:52:41 -0700 Subject: [PATCH] Update account list to use all available screen space (#20745) * Updating ModalContent styles and padding to allow for dynamic resizing of content that allows scrolling within the modal. This commit also updates the AccountListMenu so the account list can resize dynamically to take up all screen space available * Updating the scroll bar styles from default for the ModalContent component so the scrollbar is thinner and more sleek --- .../__snapshots__/modal-content.test.tsx.snap | 4 ++-- .../modal-content/modal-content.scss | 16 +++++++++++++ .../modal-content/modal-content.test.tsx | 10 ++++++-- .../modal-content/modal-content.tsx | 16 +++++++------ .../account-list-menu/account-list-menu.js | 24 +++++++++---------- .../multichain/account-list-menu/index.scss | 5 +++- 6 files changed, 51 insertions(+), 24 deletions(-) diff --git a/ui/components/component-library/modal-content/__snapshots__/modal-content.test.tsx.snap b/ui/components/component-library/modal-content/__snapshots__/modal-content.test.tsx.snap index 1a82b95f4..852a91209 100644 --- a/ui/components/component-library/modal-content/__snapshots__/modal-content.test.tsx.snap +++ b/ui/components/component-library/modal-content/__snapshots__/modal-content.test.tsx.snap @@ -2,12 +2,12 @@ exports[`ModalContent should match snapshot 1`] = `