From d4e3b75bcb933bb30f5f86bb0b97de9e8001bc50 Mon Sep 17 00:00:00 2001 From: borissedw Date: Fri, 10 Nov 2023 17:33:58 +0300 Subject: [PATCH] 0.0.342 --- static/css/styles(boris).css | 10 +++++----- static/js/user_profile_2.js | 3 ++- templates/blocks/profile/b_buttons_menu_profile.html | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 12a316f..484670d 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -28,11 +28,11 @@ .block_overlay{ height: 100vh; - /*width: 100vw;*/ + width: 100vw; /*background: rgba(39, 53, 62, 0.7);*/ backdrop-filter: blur(6px); z-index: 100; - /*position: fixed;*/ + position: fixed; top: 86px; display: none; } @@ -43,7 +43,7 @@ /*background: rgba(39, 53, 62, 0.7);*/ backdrop-filter: blur(6px); z-index: 100; - position: absolute; + position: fixed; top: -55px; } @@ -2214,10 +2214,10 @@ .cut_width_f_curtain{ max-width: 1280px; text-align: -webkit-right; - position: relative; + position: sticky; margin: auto; z-index: 10002; - top: 0; + top: 61px; } .menu_buttons{ diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index c0044e7..cc5f7fd 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -5,7 +5,8 @@ profile_tabs_f_static_map = new Map([ ['change_profile','change_profile'], ['new_route_view_customer','create_route_for_customer'], ['new_route_view_mover','create_route_for_mover'], - ['get_routes','my_routes'] + ['get_routes','my_routes'], + ['dashboard','dashboard'] ]) diff --git a/templates/blocks/profile/b_buttons_menu_profile.html b/templates/blocks/profile/b_buttons_menu_profile.html index 623ce03..378a127 100644 --- a/templates/blocks/profile/b_buttons_menu_profile.html +++ b/templates/blocks/profile/b_buttons_menu_profile.html @@ -2,7 +2,7 @@ {% csrf_token %}