1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Make QR code button focusable (#9822)

This commit is contained in:
David Walsh 2020-11-09 09:52:06 -06:00 committed by GitHub
parent 974ba4f691
commit c4fad4b87f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -211,7 +211,7 @@ export default class EnsInput extends Component {
autoFocus
data-testid="ens-input"
/>
<div
<button
className={classnames('ens-input__wrapper__action-icon', {
'ens-input__wrapper__action-icon--erase': input,
'ens-input__wrapper__action-icon--qrcode': !input,

View File

@ -208,6 +208,7 @@
&--erase {
background-image: url("/images/close-gray.svg");
background-color: unset;
width: 0.75rem;
height: 0.75rem;
margin: 0 0.25rem;
@ -215,6 +216,7 @@
&--qrcode {
background-image: url("/images/qr-blue.svg");
background-color: unset;
width: 1.5rem;
height: 1.5rem;
margin: 0 0.25rem;