Merge remote-tracking branch 'origin/main'

This commit is contained in:
SDE
2023-08-11 15:33:02 +03:00
2 changed files with 33 additions and 19 deletions

View File

@@ -1145,28 +1145,37 @@ input#id_extra_phone
appearance: none;
}
/*.info_profile>label{*/
/* font-family: Inter;*/
/* font-size: 16px;*/
/* font-style: normal;*/
/* font-weight: 500;*/
/* line-height: 22px;*/
.checkbox_cargo_type{
display: flex;
flex-wrap: wrap;
}
.width{
width: 90%;
}
.checkbox_cargo_type.width{
display: flex;
flex-wrap: wrap;
}
.checkbox_cargo_type>div{
min-width: 300px;
}
/*.checkbox_cargo_type>div:nth-child(1){*/
/* flex-shrink: 1;*/
/*}*/
/*.checkbox_cargo_type{*/
/* display: block;*/
/* !*flex-wrap: wrap;*!*/
/*.checkbox_cargo_type>div:nth-child(2){*/
/* flex-shrink: 1;*/
/*}*/
/*.checkbox_cargo_type>div{*/
/* column-count: 2;*/
/* max-width: 330px;*/
/* width: 100%;*/
/* margin-bottom: 10px;*/
/*.checkbox_cargo_type>div:nth-child(3){*/
/* flex-shrink: 1;*/
/*}*/
/*.checkbox_cargo_type>div>input{*/
/* display: block;*/
/*.checkbox_cargo_type>div:nth-child(4){*/
/* flex-shrink: 1;*/
/*}*/
/*.checkbox_cargo_type>div>label{*/
/* display: block;*/
/*.checkbox_cargo_type>div:nth-child(5){*/
/* flex-shrink: 1;*/
/*}*/
@@ -1175,6 +1184,8 @@ input#id_extra_phone
/*input#id_cargo_type{*/
/* width: 50%;*/
/*}*/

View File

@@ -400,7 +400,10 @@ function OnSelectionChange(el) {
// location.href = '/profile'
document.querySelector(".info_profile").innerHTML = data.html
//
let checkbox_width = document.querySelector('.checkbox_cargo_type');
if(checkbox_width.childElementCount === 4){
checkbox_width.classList.add('width')
}
sliderInit();
}