1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Fix opening of speedup popover in activity list (in the popup view) (#20205)

* Set height of activity-list-item rightContent to Blocksize.min, so that the element doesn't overlap buttons

* Fix unit test

---------

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
This commit is contained in:
Dan J Miller 2023-08-14 13:55:41 -02:30 committed by GitHub
parent 2550eaa9ac
commit f8187c2538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,7 @@ exports[`ActivityListItem should match snapshot with props 1`] = `
</p>
</div>
<div
class="mm-box activity-list-item__right-content mm-box--display-inline-flex mm-box--flex-direction-column mm-box--align-items-flex-end mm-box--width-full"
class="mm-box activity-list-item__right-content mm-box--display-inline-flex mm-box--flex-direction-column mm-box--align-items-flex-end mm-box--width-full mm-box--height-min"
>
<p>
Content rendered to the right

View File

@ -114,6 +114,7 @@ export const ActivityListItem = ({
<Box
display={Display.InlineFlex}
width={BlockSize.Full}
height={BlockSize.Min}
flexDirection={FlexDirection.Column}
alignItems={AlignItems.flexEnd}
className="activity-list-item__right-content"