1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Ensure only accounts list scrolls in Permissions popup (#13859)

Co-authored-by: ceamkrier <ceamkrier@gmail.com>
This commit is contained in:
David Walsh 2022-03-08 17:06:05 -06:00 committed by GitHub
parent 55abc00c34
commit cf46dbf654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 15 deletions

View File

@ -1,6 +1,5 @@
.permissions-connect-header {
flex: 0;
width: 92%;
&__icon {
display: flex;

View File

@ -3,6 +3,7 @@
flex-direction: column;
width: 100%;
align-items: center;
overflow-y: auto;
&__header--one-item,
&__header--multiple-items {

View File

@ -48,7 +48,7 @@ const ChooseAccount = ({
};
return (
<div className="permissions-connect-choose-account">
<>
<PermissionsConnectHeader
iconUrl={targetSubjectMetadata?.iconUrl}
iconName={targetSubjectMetadata?.name}
@ -89,7 +89,7 @@ const ChooseAccount = ({
</Button>
</div>
</div>
</div>
</>
);
};

View File

@ -1,16 +1,4 @@
.permissions-connect-choose-account {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
margin-left: auto;
margin-right: auto;
height: 100%;
@media screen and (min-width: $break-large) {
width: 426px;
}
&__title {
@include H4;
}