diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-03 10:13:17 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-03 10:13:17 +0800 |
commit | 61b4b1f947230a8d5157fab27ee8ec82e0826e02 (patch) | |
tree | 6dd8f4bedfc075a6dcfc2940dcea9a756f17bd8b | |
parent | 49e37137042ba2f23dd48db92365f468f9d59e13 (diff) | |
download | tangerine-wallet-browser-61b4b1f947230a8d5157fab27ee8ec82e0826e02.tar tangerine-wallet-browser-61b4b1f947230a8d5157fab27ee8ec82e0826e02.tar.gz tangerine-wallet-browser-61b4b1f947230a8d5157fab27ee8ec82e0826e02.tar.bz2 tangerine-wallet-browser-61b4b1f947230a8d5157fab27ee8ec82e0826e02.tar.lz tangerine-wallet-browser-61b4b1f947230a8d5157fab27ee8ec82e0826e02.tar.xz tangerine-wallet-browser-61b4b1f947230a8d5157fab27ee8ec82e0826e02.tar.zst tangerine-wallet-browser-61b4b1f947230a8d5157fab27ee8ec82e0826e02.zip |
Ensure app-header is rendered in responsive layout
-rw-r--r-- | app/scripts/lib/is-popup-or-notification.js | 2 | ||||
-rw-r--r-- | ui/app/app.js | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/scripts/lib/is-popup-or-notification.js b/app/scripts/lib/is-popup-or-notification.js index 693fa8751..73a812d5f 100644 --- a/app/scripts/lib/is-popup-or-notification.js +++ b/app/scripts/lib/is-popup-or-notification.js @@ -1,6 +1,6 @@ module.exports = function isPopupOrNotification () { const url = window.location.href - if (url.match(/popup.html$/)) { + if (url.match(/popup.html$/) || url.match(/home.html$/)) { return 'popup' } else { return 'notification' diff --git a/ui/app/app.js b/ui/app/app.js index 53801ed52..7a855813f 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -214,7 +214,8 @@ App.prototype.renderAppBar = function () { alignItems: 'center', visibility: props.isUnlocked ? 'visible' : 'none', background: '#EFEFEF', // $gallery - height: '11vh', + height: '12vh', + maxHeight: '60px', position: 'relative', zIndex: 12, }, |