fix chat patron

master
Aevann 2023-12-15 03:59:22 +02:00
parent c3722e8081
commit 3bb26018d0
3 changed files with 8 additions and 2 deletions

View File

@ -166,7 +166,7 @@ img[alt^="![]("], .img {
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.patron { .chat-patron {
padding-top: 1px !important; padding-top: 1px !important;
} }
} }

View File

@ -412,3 +412,9 @@ blockquote {
#cursormarsey { #cursormarsey {
background-image: url('/assets/events/fistmas/images/cursormarsey.webp?x=6') !important; background-image: url('/assets/events/fistmas/images/cursormarsey.webp?x=6') !important;
} }
@media (min-width: 768px) {
.chat-patron {
padding-top: 5px !important;
}
}

View File

@ -211,7 +211,7 @@ socket.on('online', function(data){
{ {
let patron = '' let patron = ''
if (u[3]) if (u[3])
patron += ` class="patron" style="background-color:#${u[2]}"` patron += ` class="patron chat-patron" style="background-color:#${u[2]}"`
if (u[5]) if (u[5])
patron += " pride_username" patron += " pride_username"