overide itembackrop class backgroud-size cover to contain hide on desktop person backdrop
This commit is contained in:
parent
040f4af781
commit
69251cff48
2 changed files with 15 additions and 0 deletions
|
@ -520,6 +520,13 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
|
|||
itemBackdropElement.style.backgroundImage = "";
|
||||
}
|
||||
|
||||
if ("Person" === item.Type) {
|
||||
itemBackdropElement.classList.add("personBackdropimg-hideondesktop");
|
||||
itemBackdropElement.classList.add("personBackdrop");
|
||||
} else {
|
||||
itemBackdropElement.classList.remove("personBackdrop");
|
||||
}
|
||||
|
||||
return hasbackdrop;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue