diff --git a/index.php b/index.php
index c53dd38..57b9c16 100644
--- a/index.php
+++ b/index.php
@@ -13,12 +13,13 @@
$activeUsers = json_decode(file_get_contents('online-users.json'), true);
if (!empty($activeUsers)) {
- echo "
";
+ $userList = "";
foreach ($activeUsers as $user) {
$username = htmlspecialchars($user);
- echo "- $username
";
+ $userList .= "- $username
";
}
- echo "
";
+ // Print the list with data-content for seamless scrolling
+ echo "";
} else {
echo "No active users at the moment.";
}