Import logo fix from lfuelling when in app overlay

This commit is contained in:
Alexandre Aubin 2019-02-22 21:37:23 +01:00
parent b3bdb9e30b
commit a19c198cd3
2 changed files with 5 additions and 1 deletions

View file

@ -156,6 +156,10 @@ img {
display: none;
}
.in_app_overlay .logo {
display: none;
}
/* messages */
.messages {
color: #FFF;

View file

@ -352,7 +352,7 @@ function set_app_tile_style(el)
function tweak_portal_when_in_iframe()
{
// Set class to body to show we're in overlay
document.body.classList.add('overlay');
document.body.classList.add('in_app_overlay');
let userContainer = document.querySelector('a.user-container');
userContainer.classList.replace('user-container-info', 'user-container-edit');
userContainer.setAttribute('href', userContainer