diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index 36138fc..d00f75c 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -606,6 +606,20 @@ position: sticky; top: 0; } + .cut_width_f_curtain.n_profile.left{ + position: fixed; + min-width: 1280px; + } + + .cut_width_f_curtain.n_profile.close{ + z-index: -1; + } + + .cut_width_f_curtain.n_profile.open{ + z-index: 101; + } + + .menu_buttons{ /*background: #FFFFFF;*/ height: 100vh; diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 9aaa4dc..b9fd1a1 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -2358,7 +2358,7 @@ height: 695px; } -.cut_width_f_curtain.n_profile{ +.cut_width_f_curtain.n_profile.right{ position: fixed; min-width: 1280px; } diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 7883440..8f8246d 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -775,7 +775,7 @@ function open_curtain (left=null,right=null,overlay=null,close=null){ function curtainMove (curtain,container_curtain,curtain_name,body){ let user_type = getInfoAboutUser() // if (user_type === 'mobile' || !window.location.host.includes('profile') || user_type === 'laptop' ) - // заменил host на href ибо в host хранится имя хоста, а не путь в котором мы ищем profile + // artem заменил host на href ибо в host хранится имя хоста, а не путь в котором мы ищем profile if (user_type === 'mobile' || !window.location.href.includes('profile') || user_type === 'laptop' ) { curtain.classList.toggle("open") diff --git a/templates/tb_base.html b/templates/tb_base.html index 1670882..9194603 100644 --- a/templates/tb_base.html +++ b/templates/tb_base.html @@ -58,7 +58,7 @@ {% include 'blocks/b_header.html' %} -