1.0.7 upd view for error_message for subscribe

This commit is contained in:
2024-05-08 18:08:56 +03:00
parent d77fe01795
commit 3900cb1382
2 changed files with 27 additions and 11 deletions

View File

@@ -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;
}
}

View File

@@ -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') {