mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Import logo fix from lfuelling when in app overlay
This commit is contained in:
parent
b3bdb9e30b
commit
a19c198cd3
2 changed files with 5 additions and 1 deletions
|
@ -156,6 +156,10 @@ img {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.in_app_overlay .logo {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* messages */
|
/* messages */
|
||||||
.messages {
|
.messages {
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
|
|
|
@ -352,7 +352,7 @@ function set_app_tile_style(el)
|
||||||
function tweak_portal_when_in_iframe()
|
function tweak_portal_when_in_iframe()
|
||||||
{
|
{
|
||||||
// Set class to body to show we're in overlay
|
// 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');
|
let userContainer = document.querySelector('a.user-container');
|
||||||
userContainer.classList.replace('user-container-info', 'user-container-edit');
|
userContainer.classList.replace('user-container-info', 'user-container-edit');
|
||||||
userContainer.setAttribute('href', userContainer
|
userContainer.setAttribute('href', userContainer
|
||||||
|
|
Loading…
Add table
Reference in a new issue