Update
This commit is contained in:
parent
b4b1b5de6c
commit
7f7d4b60d1
|
@ -57,7 +57,9 @@
|
|||
|
||||
#log iframe {
|
||||
width: inherit;
|
||||
min-height: 75vh;
|
||||
min-height: 100vh;
|
||||
height: max-content;
|
||||
border:none;
|
||||
}
|
||||
|
||||
#body {
|
||||
|
|
|
@ -56,7 +56,7 @@ async function fetchData() {
|
|||
Object.entries(obj).forEach(([key, value]) => {
|
||||
|
||||
if (key == "id") {
|
||||
log.innerHTML = log.innerHTML + `<iframe src="https://${serverAddress}/@Melawy/${value}/embed" class="mastodon-embed" onload='javascript:(function(o){o.style.height=o.contentWindow.document.body.scrollHeight+"px";}(this));' style="height:600px; width:100%; max-width: 100%; min-height: 75vh; border:none; overflow:hidden;" allowfullscreen="allowfullscreen"></iframe>` + '<br>';
|
||||
log.innerHTML = log.innerHTML + `<iframe src="https://${serverAddress}/@Melawy/${value}/embed" class="mastodon-embed" allowfullscreen="allowfullscreen"></iframe>` + '<br>';
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue