diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index db61f6b..dd81372 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -1137,10 +1137,12 @@ float: unset; /*background: linear-gradient(92deg, #000000 1%, #ffffff 93%, #ffffff);*/ /*background: linear-gradient(90deg, #000000 1%, #ffffff 81%, #ffffff);*/ - -webkit-text-fill-color: unset; padding-right: unset; font-size: 14px; top: unset; + background: linear-gradient(99deg, #000000 1%, #ffffff 16%, #ffffff); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; } .email_carrier{ display: inline-block; diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 07cbace..6ebfb5d 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -2621,6 +2621,7 @@ .menu_profile{ width: 320px; text-align: -webkit-center; + text-align: -moz-center; padding: 0; overflow-y: auto; height: calc(100vh - 95px); diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 84c2e29..7b9b65f 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -55,12 +55,13 @@ function select_tab_profile (el,url,owner_type=null) { } document.querySelector("#ru_lang").href = confirm_url_f_lang_ru document.querySelector("#en_lang").href = confirm_url_f_lang_en - let header = document.querySelector("header") - header.scrollIntoView({ - behavior: "smooth", - block: "end", - inline: "nearest" - }) + // let header = document.querySelector(".info_profile") + // header.scrollIntoView({ + // behavior: "smooth", + // block: "end", + // inline: "nearest" + // }) + document.body.scrollTop = document.documentElement.scrollTop = 0; middleWareJS() let user_type = getInfoAboutUser() if (user_type === 'mobile') {