aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/main-container.js
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-03 13:23:48 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-03 13:23:48 +0800
commitb523faba1333caa2f05d7721b8b623a84047ac40 (patch)
treefd04b14571e9b49c7471023df83dcc47340fe477 /ui/app/main-container.js
parentff7ba83a6c62abb42c0141d4cd5a53a7870a9199 (diff)
downloadtangerine-wallet-browser-b523faba1333caa2f05d7721b8b623a84047ac40.tar
tangerine-wallet-browser-b523faba1333caa2f05d7721b8b623a84047ac40.tar.gz
tangerine-wallet-browser-b523faba1333caa2f05d7721b8b623a84047ac40.tar.bz2
tangerine-wallet-browser-b523faba1333caa2f05d7721b8b623a84047ac40.tar.lz
tangerine-wallet-browser-b523faba1333caa2f05d7721b8b623a84047ac40.tar.xz
tangerine-wallet-browser-b523faba1333caa2f05d7721b8b623a84047ac40.tar.zst
tangerine-wallet-browser-b523faba1333caa2f05d7721b8b623a84047ac40.zip
Make mobile view flush with header
Diffstat (limited to 'ui/app/main-container.js')
-rw-r--r--ui/app/main-container.js21
1 files changed, 2 insertions, 19 deletions
diff --git a/ui/app/main-container.js b/ui/app/main-container.js
index 84d8c5435..af722d100 100644
--- a/ui/app/main-container.js
+++ b/ui/app/main-container.js
@@ -15,12 +15,6 @@ function MainContainer () {
MainContainer.prototype.render = function () {
- // 1. Fixing Mobile View: flush container
- // media query for mobile view:
- // position: absolute;
- // margin-top: 35px;
- // width: 100%;
- //
// 2. Fix responsive sizing - smaller
// https://puu.sh/x0gDA/5ff3b734eb.png
//
@@ -33,19 +27,8 @@ MainContainer.prototype.render = function () {
//
// 4. style all buttons as <button>s: accessibility + mobile focus
- return h('div', {
- style: {
- position: 'absolute',
- marginTop: '35px',
- width: '98%',
- zIndex: 20,
- boxShadow: '0 0 7px 0 rgba(0,0,0,0.08)',
- fontFamily: 'DIN OT',
- display: 'flex',
- flexWrap: 'wrap',
- alignItems: 'stretch',
- overflowY: 'scroll',
- }
+ return h('div.main-container', {
+ style: {}
}, [h(AccountAndTransactionDetails, {}, [])])
}