diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 926afb5..dc1aa95 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -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; } diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 1ed659f..1be9147 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -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 = '' + document.querySelector(".info_profile").innerHTML = '' } $.ajax({ headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() }, diff --git a/templates/widgets/w_message.html b/templates/widgets/w_message.html index f613a9d..4d58ba8 100644 --- a/templates/widgets/w_message.html +++ b/templates/widgets/w_message.html @@ -10,7 +10,11 @@
{% if msg.text %} - {% if msg %}{{ msg.text }}{% else %}{{ ticket.text }}{% endif %} + {{ msg.text }} + + {% elif ticket %} + + {{ ticket.text }} {% elif msg.files %} {% for file in msg.files %}