[css] tweak for missing photos
This commit is contained in:
parent
975aa00a66
commit
3f700c893c
2 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,8 @@
|
||||||
.kf-trombi_trombi_8 { grid-template-columns: repeat(8, 1fr); }
|
.kf-trombi_trombi_8 { grid-template-columns: repeat(8, 1fr); }
|
||||||
|
|
||||||
.hidden { display: none; }
|
.hidden { display: none; }
|
||||||
|
|
||||||
|
.kf-trombi_card { align-content: end; }
|
||||||
.kf-trombi_trombi_img {
|
.kf-trombi_trombi_img {
|
||||||
filter: grayscale(100%) contrast(150%);
|
filter: grayscale(100%) contrast(150%);
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@ function generateCard(student, col) {
|
||||||
const url = `/kfu_online/pl/ui/$ctx/wbstudkart.wbShowImage?pOrgNr=${student.ids.org}&pStPersonNr=${student.ids.perso}&pType=U`
|
const url = `/kfu_online/pl/ui/$ctx/wbstudkart.wbShowImage?pOrgNr=${student.ids.org}&pStPersonNr=${student.ids.perso}&pType=U`
|
||||||
|
|
||||||
const d = document.createElement("div");
|
const d = document.createElement("div");
|
||||||
d.style.gridColumn = "auto";
|
d.classList.add("kf-trombi_card");
|
||||||
|
|
||||||
const img = document.createElement("img");
|
const img = document.createElement("img");
|
||||||
img.classList.add("kf-trombi_trombi_img");
|
img.classList.add("kf-trombi_trombi_img");
|
||||||
|
|
Loading…
Reference in a new issue