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 // Also export the Username List
let userDataExport = {}; let userDataExport = {};
let usersDivs = [document.getElementById("ud1"), document.getElementById("ud2"), document.getElementById("ud3")]; 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++) { for (var i=0; i<items.length; i++) {
// Create a new html Element // Create a new html Element
let newUser = document.createElement("p"); let newUser = document.createElement("p");

View file

@ -30,7 +30,7 @@
<div id="ud3" class="userSubDiv"></div> <div id="ud3" class="userSubDiv"></div>
</div> </div>
<br><br><br> <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>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> <p>Contribute on <a href="https://github.com/andigandhi/Mastodon-Circles">Github</a> </p>
</div> </div>

View file

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