This commit is contained in:
Valeria Fadeeva 2023-12-10 02:42:56 +05:00
parent 7f7d4b60d1
commit fdcc5d56c4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
html, body {
width: 100%;
height:100%;
}
/* Center the loader */ /* Center the loader */
#loader { #loader {
position: absolute; position: absolute;

View File

@ -56,7 +56,7 @@ async function fetchData() {
Object.entries(obj).forEach(([key, value]) => { Object.entries(obj).forEach(([key, value]) => {
if (key == "id") { if (key == "id") {
log.innerHTML = log.innerHTML + `<iframe src="https://${serverAddress}/@Melawy/${value}/embed" class="mastodon-embed" allowfullscreen="allowfullscreen"></iframe>` + '<br>'; log.innerHTML = log.innerHTML + `<div class="row"><iframe src="https://${serverAddress}/@Melawy/${value}/embed" class="mastodon-embed" allowfullscreen="allowfullscreen"></iframe></div>`;
} }
}); });