This commit is contained in:
Andreas Grasser 2022-11-20 15:17:18 +01:00
parent e42fd11694
commit 0ed0e15a54
No known key found for this signature in database
GPG key ID: A6A70D76EF291D77
3 changed files with 10 additions and 3 deletions

View file

@ -146,6 +146,9 @@ function showConnections() {
// Also export the Username List
let userDataExport = {};
let usersDivs = [document.getElementById("ud1"), document.getElementById("ud2"), document.getElementById("ud3")];
// Clear all content of divs
for (var i=0; i<3; i++) usersDivs[i].innerHTML="";
for (var i=0; i<items.length; i++) {
// Create a new html Element
let newUser = document.createElement("p");

View file

@ -30,7 +30,7 @@
<div id="ud3" class="userSubDiv"></div>
</div>
<br><br><br>
<div id="credits">
<div id="credits" style="width: 100%;">
<p>Thanks to <a href="https://twitter.com/duiker101">Duiker101</a> for creating chirpty for Twitter</p>
<p>Contribute on <a href="https://github.com/andigandhi/Mastodon-Circles">Github</a> </p>
</div>

View file

@ -34,10 +34,14 @@ a {
#usersDiv {
margin-top: 30px;
line-height: 100%;
font-size: 100%;
}
#credits {
min-width: 90%;
}
.userSubDiv {
width: 30%;
float: left;
min-width: 400px;
padding: 20px;
}