1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Ensure app-header is rendered in responsive layout

This commit is contained in:
sdtsui 2017-08-02 19:13:17 -07:00
parent 49e3713704
commit 61b4b1f947
2 changed files with 3 additions and 2 deletions

View File

@ -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'

View File

@ -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,
},