1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +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
parent 928cb61dd4
commit 723d8bb51e
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

@ -110,6 +110,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"