From eaa9f759f9539a8cf1434c51d564655515acebf0 Mon Sep 17 00:00:00 2001 From: Brad Decker Date: Mon, 4 May 2020 10:04:41 -0500 Subject: [PATCH] Fix connection modal style issues (#8433) Resolves three different style issues due to overflow of content and addresses an issue where UI was being squished due to available screen real estate. - On the choose account modal, when a user has enough accounts to need to scroll within the account chooser, the last-connected data column was squished. This is resolved by using a tooltip and icon for this data rather than text printed in column. - On the connection permission result screen where it shows the Dapp icon -> Metamask icon, the bottom of the logos and dropshadows were being cut off this was resolved by removing the height set on this element and allowing it to fill the available space. - On the confirmation screen the content appeared off center due to the scrollbar being overlayed instead of auto. This was resolved by removing some of the setting of manual overflow controls on the body element. --- app/notification.html | 8 ++--- .../app/permission-page-container/index.scss | 2 +- ui/app/css/itcss/generic/index.scss | 5 +-- .../choose-account.component.js | 7 ++-- .../choose-account/index.scss | 33 ++++++++++--------- 5 files changed, 24 insertions(+), 31 deletions(-) diff --git a/app/notification.html b/app/notification.html index 769ce31f4..cb8448a37 100644 --- a/app/notification.html +++ b/app/notification.html @@ -1,14 +1,10 @@ - + MetaMask Notification