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

This commit is contained in:
Joakim Svensson 2025-07-21 05:11:08 +00:00
parent 36675b8d8e
commit 32a6748d07
1 changed files with 2 additions and 11 deletions

View File

@ -20,7 +20,7 @@ title: Cloudlog
<style> <style>
#namninsamling-lista-wrapper { #namninsamling-lista-wrapper {
max-width: 800px; #max-width: 800px;
border: 2px solid #888; border: 2px solid #888;
border-radius: 8px; border-radius: 8px;
background-color: var(--md-default-bg-color); background-color: var(--md-default-bg-color);
@ -32,7 +32,7 @@ title: Cloudlog
#namninsamling-lista { #namninsamling-lista {
width: 100%; width: 100%;
height: 300px; #height: 300px;
border: none; border: none;
display: block; display: block;
} }
@ -44,15 +44,6 @@ title: Cloudlog
if (iframe) { if (iframe) {
const timestamp = Date.now(); const timestamp = Date.now();
iframe.src = `https://cloudlog.sa6anw.se/visitor/alpha`; iframe.src = `https://cloudlog.sa6anw.se/visitor/alpha`;
iframe.onload = () => {
try {
const contentHeight = iframe.contentWindow.document.body.scrollHeight;
iframe.style.height = contentHeight + "px";
} catch (e) {
console.warn("Kunde inte mäta höjden på iframen:", e);
}
};
} }
}); });
</script> </script>