diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index 1d73003..68c9b39 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -602,6 +602,8 @@ float: unset; padding-top: 10px; width: 320px; + height: 100vh; + max-height: 100vh; } .support .menu_buttons.left.open{ margin-top: 0; diff --git a/static/css/styles.css b/static/css/styles.css index eb5ec91..dd75202 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -1147,7 +1147,7 @@ h2.title_new_route{ padding: 10px; text-align: center; position: relative; - height: 15px; + height: 40px; } .menu_profile>div:first-of-type { border-radius: 10px; @@ -1158,7 +1158,7 @@ h2.title_new_route{ padding: 10px; text-align: center; position: relative; - height: 40px; + height: 15px; } /*.menu_profile>div>a {*/ diff --git a/static/img/svg/group.png b/static/img/svg/group.png new file mode 100644 index 0000000..191ebdf Binary files /dev/null and b/static/img/svg/group.png differ diff --git a/static/img/svg/users-solid.svg b/static/img/svg/users-solid.svg new file mode 100644 index 0000000..66c142e --- /dev/null +++ b/static/img/svg/users-solid.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/img/svg/users-solid_white.svg b/static/img/svg/users-solid_white.svg new file mode 100644 index 0000000..66c142e --- /dev/null +++ b/static/img/svg/users-solid_white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 9bf98f5..f251260 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -474,15 +474,19 @@ function selectedUserMessenger (ticket_id=null,user_id=null,el){ } document.querySelector(".info_profile").innerHTML = data.html; document.querySelector(".enter-message-inp").focus() + let user_type = getInfoAboutUser() document.querySelector(".tab_user_messanger.select").scrollIntoView({behavior: "smooth",block:'nearest',inline:'nearest'}); - 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 (document.querySelector('.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') + } } - let user_type = getInfoAboutUser() + + let curt_f_close = getCurtainWIncreaceZindex(document.querySelectorAll('.curtain')) if (user_type === 'mobile' || user_type === 'laptop') { closeCurtain('left') diff --git a/templates/blocks/profile/b_chats.html b/templates/blocks/profile/b_chats.html index 9356626..174432b 100644 --- a/templates/blocks/profile/b_chats.html +++ b/templates/blocks/profile/b_chats.html @@ -1,12 +1,12 @@ {% load static %} -