Cloudlog
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
36675b8d8e
commit
32a6748d07
|
@ -20,7 +20,7 @@ title: Cloudlog
|
|||
|
||||
<style>
|
||||
#namninsamling-lista-wrapper {
|
||||
max-width: 800px;
|
||||
#max-width: 800px;
|
||||
border: 2px solid #888;
|
||||
border-radius: 8px;
|
||||
background-color: var(--md-default-bg-color);
|
||||
|
@ -32,7 +32,7 @@ title: Cloudlog
|
|||
|
||||
#namninsamling-lista {
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
#height: 300px;
|
||||
border: none;
|
||||
display: block;
|
||||
}
|
||||
|
@ -44,15 +44,6 @@ title: Cloudlog
|
|||
if (iframe) {
|
||||
const timestamp = Date.now();
|
||||
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>
|
||||
|
|
Loading…
Reference in New Issue