mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Make MAX button accessible (#11322)
This commit is contained in:
parent
ca7259246c
commit
a08d927681
@ -801,6 +801,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
color: #2f9ae0;
|
color: #2f9ae0;
|
||||||
|
background: #fff;
|
||||||
|
|
||||||
&__disabled {
|
&__disabled {
|
||||||
color: #b0d7f2;
|
color: #b0d7f2;
|
||||||
|
@ -62,7 +62,7 @@ export default class AmountMaxButton extends Component {
|
|||||||
const { maxModeOn, buttonDataLoading, inError } = this.props;
|
const { maxModeOn, buttonDataLoading, inError } = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<button
|
||||||
className="send-v2__amount-max"
|
className="send-v2__amount-max"
|
||||||
onClick={buttonDataLoading || inError ? null : this.onMaxClick}
|
onClick={buttonDataLoading || inError ? null : this.onMaxClick}
|
||||||
>
|
>
|
||||||
@ -75,7 +75,7 @@ export default class AmountMaxButton extends Component {
|
|||||||
>
|
>
|
||||||
{this.context.t('max')}
|
{this.context.t('max')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</button>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user