feat: Style main result
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
moanos [he/him] 2025-04-18 09:27:26 +02:00
parent ecc3d418fc
commit 666cc732bf

View File

@ -427,6 +427,7 @@ function updateNumRatsCalculator() {
resultsDiv.innerHTML = ""; resultsDiv.innerHTML = "";
const p = document.createElement('p'); const p = document.createElement('p');
p.textContent = i18next.t("cage-for-x-rats", {"num_rats": Math.floor(allowedNumRats)}); p.textContent = i18next.t("cage-for-x-rats", {"num_rats": Math.floor(allowedNumRats)});
p.className = " is-size-5 has-text-weight-semibold"
resultsDiv.appendChild(p); resultsDiv.appendChild(p);
resultsDiv.appendChild(result); resultsDiv.appendChild(result);