diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-09-12 23:29:18 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-09-12 23:39:38 +0800 |
commit | c2105c4070c63c7ad6fbdc4c5be8f3f182a16b52 (patch) | |
tree | d3b1fd5d4a0ff1d3c544fc080e2044a2565a99b5 /ui/app/accounts/index.js | |
parent | 9b861b6687d5b079560a67b35e4a4890da643b03 (diff) | |
download | tangerine-wallet-browser-c2105c4070c63c7ad6fbdc4c5be8f3f182a16b52.tar.gz tangerine-wallet-browser-c2105c4070c63c7ad6fbdc4c5be8f3f182a16b52.tar.zst tangerine-wallet-browser-c2105c4070c63c7ad6fbdc4c5be8f3f182a16b52.zip |
Fix account list formatting when only a single item.
- Makes account list items no longer flex larger than they should be.
- Makes the add account button not flex larger than it should be.
- Adds a line under the add account button to define its size.
Diffstat (limited to 'ui/app/accounts/index.js')
-rw-r--r-- | ui/app/accounts/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/accounts/index.js b/ui/app/accounts/index.js index c20900c1e..d3c84d387 100644 --- a/ui/app/accounts/index.js +++ b/ui/app/accounts/index.js @@ -84,7 +84,7 @@ AccountsScreen.prototype.render = function () { }) }), - h('hr.horizontal-line', {key: 'horizontal-line1'}), + h('hr.horizontal-line'), h('div.footer.hover-white.pointer', { key: 'reveal-account-bar', onClick: () => { @@ -92,7 +92,6 @@ AccountsScreen.prototype.render = function () { }, style: { display: 'flex', - flex: '1 0 auto', height: '40px', paddint: '10px', justifyContent: 'center', @@ -101,6 +100,7 @@ AccountsScreen.prototype.render = function () { }, [ h('i.fa.fa-plus.fa-lg', {key: ''}), ]), + h('hr.horizontal-line'), ]), unconfTxList.length ? ( |