Revert "improve chat"

This reverts commit 13dafeb8a2.
pull/115/head
Aevann 2023-02-07 09:24:35 +02:00
parent e6102dc1f1
commit c645e5bf79
2 changed files with 4 additions and 5 deletions

View File

@ -91,8 +91,7 @@ p {
float: right;
color: var(--black);
font-size: 12px;
margin-top: auto;
margin-bottom: auto;
margin-top: 4px;
}
lite-youtube {
@ -130,7 +129,7 @@ lite-youtube {
}
.chat-message {
max-height: 50vh;
max-height: 30vh;
overflow: auto;
max-width: 80%;
}

View File

@ -29,7 +29,7 @@
{% set mentioned = m and vlink in m['text_html'] or (quote_exists and messages[m['quotes']]['user_id'] == v.id) %}
<div class="chat-line {% if mentioned %}chat-mention{% endif %}" {% if m %}id="{{id}}"{% endif %}>
<div class="d-flex align-items-center">
<div class="text-muted chat-line-content row">
<div class="text-muted chat-line-content">
<div class="{% if not (m and m['quotes']) %}d-none{% endif %} quotes" style="font-size:12px">
<a class="QuotedMessageLink" {% if m and m['quotes'] %}href="#{{m['quotes']}}"{% endif %}>
<i class="fas fa-reply"></i>
@ -46,7 +46,7 @@
</a>
</div>
<span class="chat-message text-black text-break col">
<span class="chat-message text-black text-break">
{% if m %}
{% if v.slurreplacer %}
{{m['text_censored'] | safe}}