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

Fix for hovering any Address parsed on Signed Type Data screen does not display the pointer anymore (#18046)

* Signed Type Data address hover fix

* Snapshots fix

* Snapshots update fix

* Update snapshot
This commit is contained in:
aleksandar-mihajlovic 2023-03-23 11:35:25 +01:00 committed by GitHub
parent fcfb8a8938
commit 8c310a0a8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 25 deletions

View File

@ -369,7 +369,7 @@ exports[`Signature Request Component render should match snapshot when we are us
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xCD2...D826
</div>
@ -445,7 +445,7 @@ exports[`Signature Request Component render should match snapshot when we are us
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xDea...beeF
</div>
@ -580,7 +580,7 @@ exports[`Signature Request Component render should match snapshot when we are us
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xbBb...BBbB
</div>
@ -656,7 +656,7 @@ exports[`Signature Request Component render should match snapshot when we are us
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xB0B...Ea57
</div>
@ -732,7 +732,7 @@ exports[`Signature Request Component render should match snapshot when we are us
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xB0B...0000
</div>
@ -1144,7 +1144,7 @@ exports[`Signature Request Component render should match snapshot when we want t
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xCD2...D826
</div>
@ -1220,7 +1220,7 @@ exports[`Signature Request Component render should match snapshot when we want t
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xDea...beeF
</div>
@ -1355,7 +1355,7 @@ exports[`Signature Request Component render should match snapshot when we want t
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xbBb...BBbB
</div>
@ -1431,7 +1431,7 @@ exports[`Signature Request Component render should match snapshot when we want t
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xB0B...Ea57
</div>
@ -1507,7 +1507,7 @@ exports[`Signature Request Component render should match snapshot when we want t
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xB0B...0000
</div>

View File

@ -58,7 +58,7 @@ const Address = ({
</div>
<div
className="address__name"
className="tx-insight-component-address__name"
onClick={() => setShowNicknamePopovers(true)}
>
{recipientToRender}

View File

@ -1,12 +1,13 @@
.tx-insight-content {
.tx-insight-component-address {
display: flex;
align-items: center;
cursor: pointer;
overflow: visible;
.tx-insight-component-address {
display: flex;
align-items: center;
overflow: visible;
&__sender-icon {
padding-right: 5px;
}
&__sender-icon {
padding-right: 5px;
}
&__name {
cursor: pointer;
}
}

View File

@ -368,7 +368,7 @@ exports[`Signature Request Component render should match snapshot 1`] = `
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xCD2...D826
</div>
@ -444,7 +444,7 @@ exports[`Signature Request Component render should match snapshot 1`] = `
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xDea...beeF
</div>
@ -579,7 +579,7 @@ exports[`Signature Request Component render should match snapshot 1`] = `
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xbBb...BBbB
</div>
@ -655,7 +655,7 @@ exports[`Signature Request Component render should match snapshot 1`] = `
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xB0B...Ea57
</div>
@ -731,7 +731,7 @@ exports[`Signature Request Component render should match snapshot 1`] = `
</div>
</div>
<div
class="address__name"
class="tx-insight-component-address__name"
>
0xB0B...0000
</div>