mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 06:07:06 +01:00
Fix hold to reveal button (#18496)
This commit is contained in:
parent
ca7f61126c
commit
2575fe1da8
@ -170,8 +170,9 @@ export default function HoldToRevealButton({ buttonText, onLongPressed }) {
|
|||||||
onMouseDown={onMouseDown}
|
onMouseDown={onMouseDown}
|
||||||
onMouseUp={onMouseUp}
|
onMouseUp={onMouseUp}
|
||||||
className="hold-to-reveal-button__button-hold"
|
className="hold-to-reveal-button__button-hold"
|
||||||
|
textProps={{ display: DISPLAY.FLEX, alignItems: AlignItems.center }}
|
||||||
>
|
>
|
||||||
<Box className="hold-to-reveal-button__icon-container">
|
<Box className="hold-to-reveal-button__icon-container" marginRight={2}>
|
||||||
{renderPreCompleteContent()}
|
{renderPreCompleteContent()}
|
||||||
{renderPostCompleteContent()}
|
{renderPostCompleteContent()}
|
||||||
</Box>
|
</Box>
|
||||||
|
Loading…
Reference in New Issue
Block a user