ideal chaat height
parent
ee325f8556
commit
23905a0d9f
|
@ -4,6 +4,10 @@
|
|||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.chat-window-1 {
|
||||
max-height: calc(100vh - 208px);
|
||||
}
|
||||
|
||||
#online, #members {
|
||||
max-height: calc(100vh - 200px);
|
||||
overflow-y: auto;
|
||||
|
@ -65,7 +69,10 @@ blockquote {
|
|||
font-size: 12px !important;
|
||||
}
|
||||
#chat-window {
|
||||
max-height: 62vh;
|
||||
max-height: calc(100vh - 250px);
|
||||
}
|
||||
.chat-window-1 {
|
||||
max-height: calc(100vh - 208px);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -341,7 +341,7 @@
|
|||
|
||||
{% macro chat_window(vlink)%}
|
||||
<div id="shrink">
|
||||
<div id="chat-window" class="container p-0">
|
||||
<div id="chat-window" class="chat-window-{{chat.id}} container p-0">
|
||||
{% set messages_list = messages.items()|list %}
|
||||
{% for id, m in messages_list %}
|
||||
{% set same = loop.index > 1 and m.user_id == messages_list[loop.index-2][1].user_id %}
|
||||
|
|
Loading…
Reference in New Issue