mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Adjusting Max Fee label in EditGasDisplay per designs (#11796)
This commit is contained in:
parent
ce3160a1f5
commit
e57a2da647
@ -714,10 +714,6 @@
|
|||||||
"editGasTooLowTooltip": {
|
"editGasTooLowTooltip": {
|
||||||
"message": "Your max fee or max priority fee may be low for current market conditions. We don't know when (or if) your transaction will be processed. "
|
"message": "Your max fee or max priority fee may be low for current market conditions. We don't know when (or if) your transaction will be processed. "
|
||||||
},
|
},
|
||||||
"editGasTotalBannerSubtitle": {
|
|
||||||
"message": "Up to $1 ($2)",
|
|
||||||
"display": "$1 represents a fiat value"
|
|
||||||
},
|
|
||||||
"editNonceField": {
|
"editNonceField": {
|
||||||
"message": "Edit Nonce"
|
"message": "Edit Nonce"
|
||||||
},
|
},
|
||||||
|
@ -159,19 +159,23 @@ export default function EditGasDisplay({
|
|||||||
}
|
}
|
||||||
detail={
|
detail={
|
||||||
networkAndAccountSupport1559 &&
|
networkAndAccountSupport1559 &&
|
||||||
estimatedMaximumFiat !== undefined &&
|
estimatedMaximumFiat !== undefined && (
|
||||||
t('editGasTotalBannerSubtitle', [
|
<>
|
||||||
<Typography
|
<Typography
|
||||||
fontWeight={FONT_WEIGHT.BOLD}
|
tag="span"
|
||||||
tag="span"
|
key="label"
|
||||||
key="secondary"
|
fontWeight={FONT_WEIGHT.BOLD}
|
||||||
>
|
>
|
||||||
{estimatedMaximumFiat}
|
{t('editGasSubTextFeeLabel')}
|
||||||
</Typography>,
|
</Typography>
|
||||||
<Typography tag="span" key="primary">
|
<Typography tag="span" key="secondary">
|
||||||
{estimatedMaximumNative}
|
{estimatedMaximumFiat}
|
||||||
</Typography>,
|
</Typography>
|
||||||
])
|
<Typography tag="span" key="primary">
|
||||||
|
{`(${estimatedMaximumNative})`}
|
||||||
|
</Typography>
|
||||||
|
</>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
timing={
|
timing={
|
||||||
hasGasErrors === false && (
|
hasGasErrors === false && (
|
||||||
|
@ -4,4 +4,8 @@
|
|||||||
&__detail {
|
&__detail {
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
margin-inline-start: 2px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user