diff --git a/directory.css b/directory.css index c720b12..a70397c 100644 --- a/directory.css +++ b/directory.css @@ -10,6 +10,8 @@ .kf-trombi_trombi_8 { grid-template-columns: repeat(8, 1fr); } .hidden { display: none; } + +.kf-trombi_card { align-content: end; } .kf-trombi_trombi_img { filter: grayscale(100%) contrast(150%); } diff --git a/directory.js b/directory.js index b9e8192..965b6e0 100644 --- a/directory.js +++ b/directory.js @@ -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 d = document.createElement("div"); - d.style.gridColumn = "auto"; + d.classList.add("kf-trombi_card"); const img = document.createElement("img"); img.classList.add("kf-trombi_trombi_img");