1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Removing un-necessary comma (#12883)

* Confirm transaction screen style fixes
This commit is contained in:
Jyoti Puri 2021-11-30 00:32:54 +05:30 committed by GitHub
parent 3f8cbd5202
commit 7ace0497c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 4 deletions

View File

@ -841,8 +841,7 @@
"description": "This is meant to be used as the $1 substitution editGasSubTextAmount" "description": "This is meant to be used as the $1 substitution editGasSubTextAmount"
}, },
"editGasSubTextFeeLabel": { "editGasSubTextFeeLabel": {
"message": "Max fee:", "message": "Max fee:"
"description": "$1 represents a dollar amount"
}, },
"editGasTitle": { "editGasTitle": {
"message": "Edit priority" "message": "Edit priority"

View File

@ -7,6 +7,15 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
grid-gap: 5px; grid-gap: 5px;
&-subText {
display: flex;
align-items: center;
.currency-display-component {
margin-left: 4px;
}
}
} }
&__detail-values { &__detail-values {

View File

@ -58,7 +58,12 @@ export default function TransactionDetailItem({
</Typography> </Typography>
)} )}
<Typography variant={TYPOGRAPHY.H7} color={COLORS.UI4} align="end"> <Typography
variant={TYPOGRAPHY.H7}
color={COLORS.UI4}
align="end"
className="transaction-detail-item__row-subText"
>
{subText} {subText}
</Typography> </Typography>
</div> </div>

View File

@ -519,7 +519,6 @@ export default class ConfirmTransactionBase extends Component {
<b key="editGasSubTextFeeLabel"> <b key="editGasSubTextFeeLabel">
{t('editGasSubTextFeeLabel')} {t('editGasSubTextFeeLabel')}
</b> </b>
,
<div <div
key="editGasSubTextFeeValue" key="editGasSubTextFeeValue"
className="confirm-page-container-content__currency-container" className="confirm-page-container-content__currency-container"