diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css
index 5131e8c..37e2efd 100644
--- a/static/css/mobile_styles.css
+++ b/static/css/mobile_styles.css
@@ -828,6 +828,9 @@
width: 100%;
height: 88vh;
}
+ .name_ticket{
+ width: 100%;
+ }
.menu_buttons.curtain.left.close.chat{
left: -338px;
transition: 200ms;
diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css
index c5b197c..8abdf1f 100644
--- a/static/css/styles(boris).css
+++ b/static/css/styles(boris).css
@@ -733,16 +733,16 @@
/*messenger with support*/
.name_ticket{
- width: 100%;
+ width: 63%;
filter: drop-shadow(-1px 4px 10px rgba(198, 199, 203, 0.20)) drop-shadow(0px -1px 10px rgba(198, 199, 203, 0.20));
height: 40px;
background: #FFFFFF;
- /*padding: 20px;*/
+ /* padding: 20px; */
margin-bottom: 5px;
border-radius: 3px;
+ float: right;
position: relative;
}
-
.name_ticket > span{
padding: 10px;
font-size: 16px;
diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js
index 8465eab..0f3b1ac 100644
--- a/static/js/user_profile_2.js
+++ b/static/js/user_profile_2.js
@@ -487,14 +487,14 @@ function selectedUserMessenger (ticket_id=null,user_id=null,el){
document.querySelector(".enter-message-inp").focus()
document.querySelector(".tab_user_messanger.select").scrollIntoView({behavior: "smooth",block:'nearest',inline:'nearest'});
- if (window.location.host.includes('support') && user_type !== 'mobile' && user_type !== 'laptop'){
- let menu = document.querySelector(".menu_buttons.curtain.left")
- let container_user_messenger = document.querySelector(".container-messenger")
- if (!container_user_messenger.classList.contains('margin') || !menu.classList.contains('margin')){
- container_user_messenger.classList.add('margin')
- menu.classList.add('margin')
- }
- }
+ // if (window.location.host.includes('support') && user_type !== 'mobile' && user_type !== 'laptop'){
+ // let menu = document.querySelector(".menu_buttons.curtain.left")
+ // let container_user_messenger = document.querySelector(".container-messenger")
+ // if (!container_user_messenger.classList.contains('margin') || !menu.classList.contains('margin')){
+ // container_user_messenger.classList.add('margin')
+ // menu.classList.add('margin')
+ // }
+ // }
@@ -677,7 +677,7 @@ function open_curtain_w_btn_profile () {
last_open_curtain = curtain
set_curtain_z_index(curtain)
close_first_curt(curtain)
- delete_margin_in_mobile()
+ // delete_margin_in_mobile()
}
function open_curtain_w_contacts () {
@@ -694,7 +694,7 @@ function open_curtain_w_contacts () {
set_curtain_z_index(curtain)
last_open_curtain = curtain
close_first_curt(curtain)
- delete_margin_in_mobile()
+ // delete_margin_in_mobile()
}
function open_overlay (curtain) {
@@ -724,12 +724,12 @@ function open_overlay (curtain) {
}
-function delete_margin_in_mobile () {
- if (getInfoAboutUser() !== 'desctop'){
- let left_curtain = document.querySelector(".curtain.left")
- left_curtain.classList.remove('margin')
- }
-}
+// function delete__in_mobile () {
+// if (getInfoAboutUser() !== 'desctop'){
+// let left_curtain = document.querySelector(".curtain.left")
+// left_curtain.classList.remove('margin')
+// }
+// }margin
function toggle_cut_width_curtain (el) {
let parent = el.parentNode
diff --git a/templates/blocks/profile/b_support_chat.html b/templates/blocks/profile/b_support_chat.html
index de70ae5..b4813d1 100644
--- a/templates/blocks/profile/b_support_chat.html
+++ b/templates/blocks/profile/b_support_chat.html
@@ -14,7 +14,7 @@
{# #}
{% if user.is_staff or staff %}
-