mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Ensure only accounts list scrolls in Permissions popup (#13859)
Co-authored-by: ceamkrier <ceamkrier@gmail.com>
This commit is contained in:
parent
55abc00c34
commit
cf46dbf654
@ -1,6 +1,5 @@
|
||||
.permissions-connect-header {
|
||||
flex: 0;
|
||||
width: 92%;
|
||||
|
||||
&__icon {
|
||||
display: flex;
|
||||
|
@ -3,6 +3,7 @@
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
overflow-y: auto;
|
||||
|
||||
&__header--one-item,
|
||||
&__header--multiple-items {
|
||||
|
@ -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>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user