chat improvements

master
Aevann 2023-01-22 09:19:23 +02:00
parent 30ab36f595
commit 8d74d69d76
2 changed files with 4 additions and 3 deletions

View File

@ -27,7 +27,6 @@
.chat-mention { .chat-mention {
position: relative; position: relative;
padding: 0 10px;
} }
.chat-mention::before { .chat-mention::before {
@ -38,6 +37,7 @@
left: 0; left: 0;
background-color: var(--primary); background-color: var(--primary);
opacity: 0.2; opacity: 0.2;
pointer-events: none !important;
} }
p, h1, h2, h3, h4, h5 { p, h1, h2, h3, h4, h5 {
@ -80,7 +80,8 @@ p {
.chat-line { .chat-line {
overflow: hidden; overflow: hidden;
margin-left: 27px; padding: 0 10px;
margin: 2px 0 2px 27px;
} }
.quote, .del { .quote, .del {

View File

@ -81,7 +81,7 @@ def speak(data, v):
id = str(uuid.uuid4()) id = str(uuid.uuid4())
data = { data = {
"id": id, "id": id,
"quotes": quotes if quotes != 'undefined' else '', "quotes": quotes if messages[request.referrer].get(quotes) else '',
"hat": v.hat_active(v)[0], "hat": v.hat_active(v)[0],
"user_id": v.id, "user_id": v.id,
"username": v.username, "username": v.username,