repo card: fix y translation of new items

This commit is contained in:
martin-mfg
2025-05-22 14:14:35 +02:00
parent 8e1b09d965
commit 74a4682e29
+2 -2
View File
@@ -233,13 +233,13 @@ const renderRepoCard = (repo, options = {}) => {
}).join("");
const extraItems = `
<svg x="0" y="0">
<svg x="0" y="0"><g transform="translate(0, ${height - 52 - extraHeight})">
${flexLayout({
items: statItems,
gap: extraLHeight,
direction: "column",
}).join("")}
</svg>
</g></svg>
`;
const card = new Card({