diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index dab945c..279e760 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -523,9 +523,11 @@ margin-bottom: 70px; margin-left: 20px; margin-right: 20px; - margin-top: 70px; + } + + .container-message_support_chat.left{ float: left; display: block; diff --git a/static/js/user_profile(boris).js b/static/js/user_profile(boris).js index c2e0f24..0219c78 100644 --- a/static/js/user_profile(boris).js +++ b/static/js/user_profile(boris).js @@ -247,11 +247,3 @@ function sendMessageEnter (e,id_ticket,sender,receiver){ // } } - -function revertScroll (el,e) { - // let scrollPosition = el.scrollTop; - // window.scrollTo({ - // top: scrollPosition - el.clientHeight, - // behavior: 'smooth' - // }); -} \ No newline at end of file diff --git a/templates/blocks/profile/b_support_chat.html b/templates/blocks/profile/b_support_chat.html index d5fa483..8cf6e61 100644 --- a/templates/blocks/profile/b_support_chat.html +++ b/templates/blocks/profile/b_support_chat.html @@ -28,7 +28,7 @@ {% endif %} -
+
{% if not messages %} {% with text=ticket.text modifiedDT=ticket.modifiedDT %} {% include "widgets/w_message.html" %}