diff options
author | Dan J Miller <danjm.com@gmail.com> | 2017-08-25 08:31:01 +0800 |
---|---|---|
committer | Daniel Tsui <szehungdanieltsui@gmail.com> | 2017-08-25 08:31:01 +0800 |
commit | 4076496c8ea8c5a771db421b6c6a037c6ad48df1 (patch) | |
tree | af182cd524dd7f3ebf5564a8e728c1b6de512442 /ui/app/components/modals/modal.js | |
parent | 744b78e9c8c032cdd13acf121f891c28f319ed4d (diff) | |
download | tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.tar tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.tar.gz tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.tar.bz2 tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.tar.lz tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.tar.xz tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.tar.zst tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.zip |
Patch 3 new account modal (#1962)
* Account details modal styling changes.
* Tweaking styles.
* New account modal re-styling.
* Tweaks to paddings, margins, font sizes, colors and modal dimensions.
* Replace colour codes with variables.
Diffstat (limited to 'ui/app/components/modals/modal.js')
-rw-r--r-- | ui/app/components/modals/modal.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ui/app/components/modals/modal.js b/ui/app/components/modals/modal.js index 06a3efd34..fdff4c99e 100644 --- a/ui/app/components/modals/modal.js +++ b/ui/app/components/modals/modal.js @@ -66,8 +66,14 @@ const MODALS = { contents: [ h(NewAccountModal, {}, []), ], - mobileModalStyle: {}, - laptopModalStyle: {} + mobileModalStyle: { + width: '95%', + top: isPopupOrNotification() === 'popup' ? '52vh' : '36.5vh', + }, + laptopModalStyle: { + width: '449px', + top: 'calc(33% + 45px)', + }, }, DEFAULT: { |