Cloudlog
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Joakim Svensson 2025-07-21 06:07:48 +00:00
parent 81d3856431
commit 7d6087c965
1 changed files with 11 additions and 1 deletions

View File

@ -46,8 +46,18 @@ title: Cloudlog
iframe.src = `https://cloudlog.sa6anw.se/visitor/alpha`;
}
const windowWidth = window.innerWidth;
iframe.style.height = windowWidth < 600 ? "2200px" : "1700px";
iframe.style.height = windowWidth < 600 ? "2100px" : "1600px";
});
document.addEventListener("DOMContentLoaded", () => {
const iframe = document.getElementById("cloudlog");
if (iframe) {
iframe.src = "https://cloudlog.sa6anw.se/visitor/alpha";
}
setIframeHeight(); // Sätt rätt höjd direkt
});
window.addEventListener("resize", setIframeHeight); // Ändra höjd vid fönsterändring
</script>
<div id="cloudlog-wrapper">