fix Advanced option style on reject modal
This commit is contained in:
parent
64defa776a
commit
7a550e3ed3
|
@ -117,12 +117,14 @@ export const RejectTxModal = ({ isOpen, onClose, gwTransaction }: Props): React.
|
|||
<TxParametersDetail
|
||||
txParameters={txParameters}
|
||||
onEdit={toggleEditMode}
|
||||
compact={false}
|
||||
parametersStatus={getParametersStatus()}
|
||||
isTransactionCreation={isCreation}
|
||||
isTransactionExecution={isExecution}
|
||||
/>
|
||||
<Row>
|
||||
</Block>
|
||||
|
||||
{txEstimationExecutionStatus === EstimationStatus.LOADING ? null : (
|
||||
<Block className={classes.gasCostsContainer}>
|
||||
<TransactionFees
|
||||
gasCostFormatted={gasCostFormatted}
|
||||
isExecution={isExecution}
|
||||
|
@ -130,8 +132,8 @@ export const RejectTxModal = ({ isOpen, onClose, gwTransaction }: Props): React.
|
|||
isOffChainSignature={isOffChainSignature}
|
||||
txEstimationExecutionStatus={txEstimationExecutionStatus}
|
||||
/>
|
||||
</Row>
|
||||
</Block>
|
||||
</Block>
|
||||
)}
|
||||
<Row align="center" className={classes.buttonRow}>
|
||||
<Button minHeight={42} minWidth={140} onClick={onClose}>
|
||||
Exit
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { createStyles } from '@material-ui/core'
|
||||
import { border, lg, md, sm } from 'src/theme/variables'
|
||||
import { background, border, lg, md, sm } from 'src/theme/variables'
|
||||
|
||||
export const styles = createStyles({
|
||||
heading: {
|
||||
|
@ -30,4 +30,8 @@ export const styles = createStyles({
|
|||
marginTop: sm,
|
||||
fontSize: md,
|
||||
},
|
||||
gasCostsContainer: {
|
||||
backgroundColor: background,
|
||||
padding: `0 ${lg}`,
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue