From d40eed3c5df35c5e5c975a17745f77fcb2bda6b9 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Sat, 18 Nov 2023 13:44:36 +0300 Subject: [PATCH] 0.0.228 --- static/css/mobile_styles.css | 20 +++++++++++++++----- static/css/styles.css | 3 ++- static/js/user_profile.js | 3 +++ 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index 48e84cb..f1bfe93 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -153,7 +153,7 @@ margin-right: 37px; } .line_f_header{ - top: 45px; + top: 43px; } .registration_button, @@ -182,7 +182,6 @@ width: 100%; } .wrapper_tab_button{ - width: 55%; margin-top: 20px; } .benefit_img{ @@ -196,9 +195,7 @@ .button_container{ margin-top: unset; } - .tab-btn-2{ - margin: 0 0 5px 0; - } + button#more_button{ width: 50%; margin-top: 40px; @@ -1222,6 +1219,12 @@ flex-direction: column; justify-content: unset; } + + .dropdown-content{ + width: 190px; + top: 27px; + left: -83px; + } } @media (max-width: 466px) { @@ -1254,6 +1257,13 @@ } @media (max-width: 360px){ + .wrapper_tab_button{ + width: 55%; + /*margin-top: 20px;*/ + } + + + } diff --git a/static/css/styles.css b/static/css/styles.css index cd3625b..468c278 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -1107,7 +1107,7 @@ section.login>form>div>div:nth-child(5)>a { section.profile { /*padding: 60px 0;*/ margin-bottom: 120px; - width: 75%; + width: 74%; float: left; } @@ -1343,6 +1343,7 @@ h2.title_new_route{ .errorlist>li{ color:red; margin-left: 12px; + font-size: 14px; } span.errorlist{ color: red; diff --git a/static/js/user_profile.js b/static/js/user_profile.js index ed8c892..35eb886 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -509,6 +509,9 @@ function sendRoute(el, routeID = null){ // location.href = '/profile' document.querySelector(".info_profile").innerHTML = data.html + // document.querySelector(".tab_user_messanger.select").scrollIntoView({behavior: "smooth",block:'nearest',inline:'nearest'}); + + let list_div = document.querySelectorAll('.menu_profile div'); let my_routes = document.getElementById("my_routes_id") list_div.forEach(el=>{ el.classList.remove('selected'); });