From 49ad367a70eacd00c363c8aa45e4d2c8df9123c6 Mon Sep 17 00:00:00 2001 From: SBD Date: Sun, 19 Nov 2023 15:26:55 +0300 Subject: [PATCH] 0.8.372 --- static/css/styles(boris).css | 4 ++-- static/js/user_profile_2.js | 7 +++++-- templates/widgets/w_chat_right_panel_tickets.html | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index bb98b5b..dc6c783 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -428,7 +428,7 @@ .block-chat{ width: 66%; - height: 88vh; + height: calc(100vh - 120px); border-radius: 10px; border: 1px solid #E6E6E6; background: #ffffff; @@ -2379,7 +2379,7 @@ width: 33%; background: #FFFFFF; border-radius: 10px; - max-height: 83vh; + max-height: calc(100vh - 125px); } diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index e2c14fa..ce9401f 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -55,7 +55,10 @@ function select_tab_profile (el,url,owner_type=null) { document.querySelector("#en_lang").href = confirm_url_f_lang_en let header = document.querySelector("header") header.scrollIntoView({ - behavior: "smooth", block: "end", inline: "nearest" }) + behavior: "smooth", + block: "end", + inline: "nearest" + }) middleWareJS() let user_type = getInfoAboutUser() if (user_type === 'mobile') { @@ -431,7 +434,7 @@ function createTicket (el) { } -function selectedUserMessenger (ticket_id=null,user_id=null){ +function selectedUserMessenger (ticket_id=null,user_id=null,el){ let loader = document.querySelector(".loader_chat_f_sw_chats") let block_chat = document.querySelector(".block-chat") if (loader){ diff --git a/templates/widgets/w_chat_right_panel_tickets.html b/templates/widgets/w_chat_right_panel_tickets.html index 5d002ec..79a3fe5 100644 --- a/templates/widgets/w_chat_right_panel_tickets.html +++ b/templates/widgets/w_chat_right_panel_tickets.html @@ -1,5 +1,5 @@ {% load static %} -
+