overide itembackrop class backgroud-size cover to contain hide on desktop person backdrop

This commit is contained in:
grafixeyehero 2020-01-13 22:22:50 +03:00
parent 040f4af781
commit 69251cff48
2 changed files with 15 additions and 0 deletions

View file

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