Merge remote-tracking branch 'origin/main'

This commit is contained in:
SBD
2023-11-25 21:49:33 +03:00
3 changed files with 12 additions and 8 deletions

View File

@@ -412,8 +412,8 @@
height: 100px;
width: 100px;
position: absolute;
top: 38%;
left: 52%;
top: 35%;
left: 47%;
}
.loader_chat_f_sw_chats.support.show{
@@ -421,8 +421,8 @@
height: 100px;
width: 100px;
position: absolute;
top: 50%;
left: 52%;
top: 38%;
left: 47%;
}
.loader_chat_f_sw_chats{
@@ -2469,7 +2469,7 @@
}
.support .menu_buttons.left.open{
max-height: calc(100vh - 140px);
max-height: calc(100vh - 120px);
}
@@ -2613,7 +2613,7 @@
text-align: -webkit-center;
padding: 0;
overflow-y: auto;
height: calc(100vh - 120px);
height: calc(100vh - 95px);
max-height: 697px;
background: #F8F8F8;
}

View File

@@ -23,7 +23,7 @@ function select_tab_profile (el,url,owner_type=null) {
confirm_url = `/routes/${url}/`
}
if (window.location.href.includes("profile")){
document.querySelector(".info_profile").innerHTML = '<img src="/static/img/svg/loader.svg" style="height: 30px;position: absolute;top: 50%;left: 50%;"/>'
document.querySelector(".info_profile").innerHTML = '<img src="/static/img/svg/loader.svg" style="height: 30px;position: absolute;top: 47%;left: 45%;"/>'
}
$.ajax({
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },

View File

@@ -10,7 +10,11 @@
<div class="container_text_message {% get_msg_side user ticket msg %}">
{% if msg.text %}
<span class="text_message">
{% if msg %}{{ msg.text }}{% else %}{{ ticket.text }}{% endif %}
{{ msg.text }}
</span>
{% elif ticket %}
<span class="text_message">
{{ ticket.text }}
</span>
{% elif msg.files %}
{% for file in msg.files %}