From e40c9bea2d5d2627cc02fffed6ec2a3d9dad8a31 Mon Sep 17 00:00:00 2001 From: deepend-tildeclub <58404188+deepend-tildeclub@users.noreply.github.com> Date: Sat, 17 Aug 2024 11:42:14 -0600 Subject: [PATCH] Update style.css --- style.css | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/style.css b/style.css index acac7fe..4453efa 100644 --- a/style.css +++ b/style.css @@ -296,16 +296,14 @@ pre { display: flex; align-items: center; white-space: nowrap; + overflow: hidden; /* Hide overflow to prevent scrolling glitches */ } .active-users-list { overflow: hidden; - box-sizing: border-box; - padding-left: 10px; /* Space between heading and scrolling list */ - background-color: #111; - color: #fb5; - width: 100%; /* Make the list take up the rest of the available space */ position: relative; + width: 100%; + height: 2em; /* Adjust height as needed */ } .active-users-list ul { @@ -314,7 +312,7 @@ pre { margin: 0; list-style-type: none; white-space: nowrap; - animation: scroll-left 30s linear infinite; /* Adjust the duration as needed */ + animation: scroll-left 30s linear infinite; } .active-users-list li { @@ -334,9 +332,10 @@ pre { @keyframes scroll-left { 0% { - transform: translateX(0); + transform: translateX(100%); /* Start off-screen */ } 100% { - transform: translateX(-100%); + transform: translateX(-100%); /* End off-screen */ } } +