diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index fce4614..2f2dd5a 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -1337,6 +1337,10 @@ justify-content: space-between; } + .subscribe_wrpapper{ + justify-content: space-between; + } + .text_another_subscribe{ font-size: 12px; font-style: normal; @@ -1582,7 +1586,7 @@ - .read_more_about_subscribe{ + .read_more_about_subscribe, .read_more_about_subscribe.error { padding: 0 14px; height: 30px; font-size: 14px; @@ -1698,8 +1702,9 @@ } - .another_subscribe { - flex-direction: column; + + .subscribe_wrpapper{ + flex-direction: column; } .info_profile>div>div>.left-part-carrier-card>.container_inf_about_moving>.line_inf_about_moving>.carrier_inf_moving.left{ @@ -1806,11 +1811,14 @@ width: 100%; } - .another_subscribe{ - padding: 10px; + + .subscribe_wrpapper{ + padding: 10px; flex-direction: unset; justify-content: space-between; } + + .inf_carrier_icon{ /*width: 3%;*/ } @@ -2038,9 +2046,13 @@ .another_subscribe{ padding: 15px 0; - flex-direction: column; - justify-content: unset; + + } + .subscribe_wrpapper, .error_order{ + flex-direction: column; + justify-content: unset; + width: unset; } } diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index c22f063..d2ba461 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -68,10 +68,14 @@ function select_tab_profile (el,url,owner_type=null, check_orders_required) { // block: "end", // inline:'nearest' // }) - window.scrollTo({ - top: 0, - behavior: "smooth", - }); + + if(!data.check_orders_required){ + window.scrollTo({ + top: 0, + behavior: "smooth", + }); + } + middleWareJS() let user_type = getInfoAboutUser() if (user_type === 'mobile') {