master
Aevann1 2022-03-22 16:33:05 +02:00
parent 85cf7cc2a6
commit 4b3fcb18f2
1 changed files with 7 additions and 8 deletions

View File

@ -49,9 +49,7 @@
<div style="overflow:hidden"> <div style="overflow:hidden">
{% set text=m['text'] %} {% set text=m['text'] %}
<span class="chat-message text-black text-break">{{m['text_html'] | safe}} <span class="chat-message text-black text-break">{{m['text_html'] | safe}}
<button onclick="quote('{{text}}')"> <i onclick="quote('{{text}}')" class="fas fa-reply" aria-hidden="true"></i>
<i class="fas fa-reply" aria-hidden="true"></i>
</button>
</span> </span>
</div> </div>
</div> </div>
@ -106,11 +104,11 @@
} }
.profile-pic-30 { .profile-pic-30 {
width: 30px; width: 30px;
height: 30px; height: 30px;
border-radius: 50%; border-radius: 50%;
text-align: center; text-align: center;
object-fit: cover; object-fit: cover;
} }
</style> </style>
@ -190,6 +188,7 @@
} }
function quote(text) { function quote(text) {
textbox.style.height = '76px'
textbox.value = text + '\n' textbox.value = text + '\n'
textbox.focus() textbox.focus()
} }