aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2018-07-31 10:28:05 +0800
committerDan Miller <danjm.com@gmail.com>2018-12-04 11:36:04 +0800
commitf9aa5a70defdad3ce13a257dc689add1d4b7d736 (patch)
tree6d8b44c69eef158943ea449caaf2d039f55decff /ui/app/components/modals
parent35670e926116b19e66931dace838d785adffac09 (diff)
downloadtangerine-wallet-browser-f9aa5a70defdad3ce13a257dc689add1d4b7d736.tar
tangerine-wallet-browser-f9aa5a70defdad3ce13a257dc689add1d4b7d736.tar.gz
tangerine-wallet-browser-f9aa5a70defdad3ce13a257dc689add1d4b7d736.tar.bz2
tangerine-wallet-browser-f9aa5a70defdad3ce13a257dc689add1d4b7d736.tar.lz
tangerine-wallet-browser-f9aa5a70defdad3ce13a257dc689add1d4b7d736.tar.xz
tangerine-wallet-browser-f9aa5a70defdad3ce13a257dc689add1d4b7d736.tar.zst
tangerine-wallet-browser-f9aa5a70defdad3ce13a257dc689add1d4b7d736.zip
Adds new gas customization modal container (without content)
Diffstat (limited to 'ui/app/components/modals')
-rw-r--r--ui/app/components/modals/modal.js36
1 files changed, 8 insertions, 28 deletions
diff --git a/ui/app/components/modals/modal.js b/ui/app/components/modals/modal.js
index 5aff4f5e1..46347312c 100644
--- a/ui/app/components/modals/modal.js
+++ b/ui/app/components/modals/modal.js
@@ -17,18 +17,17 @@ const ExportPrivateKeyModal = require('./export-private-key-modal')
const NewAccountModal = require('./new-account-modal')
const ShapeshiftDepositTxModal = require('./shapeshift-deposit-tx-modal.js')
const HideTokenConfirmationModal = require('./hide-token-confirmation-modal')
-const CustomizeGasModal = require('../customize-gas-modal')
const NotifcationModal = require('./notification-modal')
const QRScanner = require('./qr-scanner')
import ConfirmRemoveAccount from './confirm-remove-account'
import ConfirmResetAccount from './confirm-reset-account'
import TransactionConfirmed from './transaction-confirmed'
-import ConfirmCustomizeGasModal from './customize-gas'
import CancelTransaction from './cancel-transaction'
import WelcomeBeta from './welcome-beta'
import RejectTransactions from './reject-transactions'
import ClearApprovedOrigins from './clear-approved-origins'
+import ConfirmCustomizeGasModal from '../gas-customization/gas-modal-page-container'
const modalContainerBaseStyle = {
transform: 'translate3d(-50%, 0, 0px)',
@@ -295,7 +294,7 @@ const MODALS = {
CUSTOMIZE_GAS: {
contents: [
- h(CustomizeGasModal),
+ h(ConfirmCustomizeGasModal),
],
mobileModalStyle: {
width: '100vw',
@@ -307,35 +306,16 @@ const MODALS = {
margin: '0 auto',
},
laptopModalStyle: {
- width: '720px',
- height: '377px',
+ width: 'auto',
+ height: '0px',
top: '80px',
+ left: '0px',
transform: 'none',
- left: '0',
- right: '0',
margin: '0 auto',
+ position: 'relative',
},
- },
-
- CONFIRM_CUSTOMIZE_GAS: {
- contents: h(ConfirmCustomizeGasModal),
- mobileModalStyle: {
- width: '100vw',
- height: '100vh',
- top: '0',
- transform: 'none',
- left: '0',
- right: '0',
- margin: '0 auto',
- },
- laptopModalStyle: {
- width: '720px',
- height: '377px',
- top: '80px',
- transform: 'none',
- left: '0',
- right: '0',
- margin: '0 auto',
+ contentStyle: {
+ borderRadius: '8px',
},
},