Update style.css

This commit is contained in:
deepend-tildeclub 2024-08-17 10:37:38 -06:00 committed by GitHub
parent ca8a29713d
commit 2c12d1a77a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 7 deletions

View File

@ -296,21 +296,33 @@ pre {
} }
.active-users-list { .active-users-list {
max-height: 150px; /* Adjust the height as needed */ white-space: nowrap;
overflow-y: auto; overflow: hidden;
border: 1px solid #ccc; box-sizing: border-box;
padding: 10px; padding: 10px;
background-color: #f9f9f9; background-color: #f9f9f9;
border-radius: 0.25em; border-radius: 0.25em;
border: 1px solid #ccc;
} }
.active-users-list ul { .active-users-list ul {
list-style-type: none; display: inline-block;
padding: 0; padding-left: 100%; /* Initial offset for animation */
animation: scroll-left 15s linear infinite; /* Adjust duration as needed */
margin: 0; margin: 0;
list-style-type: none;
} }
.active-users-list li { .active-users-list li {
padding: 5px 0; display: inline;
border-bottom: 1px solid #eee; padding: 0 20px; /* Space between names */
}
@keyframes scroll-left {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(-100%);
}
} }