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:
parent
49e3713704
commit
61b4b1f947
@ -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'
|
||||
|
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user