This commit is contained in:
SBD
2023-11-19 14:38:10 +03:00
parent ccb8c6585c
commit d6da292d5f
2 changed files with 29 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
width: 100% !important;
}
.disp-none{
display: none !important;
}
@@ -968,6 +969,26 @@
width: calc(100% - 95px);
}
.from_address_point_txt.find_route.w_100{
border: 1px solid #E6E6E6;
width: calc(100% - 35px);
}
.from_address_point_txt.find_route.first.w_100{
width: calc(100% - 35px);
border-right: 1px solid #E6E6E6;
}
.to_address_point_txt.find_route.w_100{
border: 1px solid #E6E6E6;
width: calc(100% - 35px);
}
.to_address_point_txt.find_route.first.w_100{
width: calc(100% - 35px);
border-right: 1px solid #E6E6E6;
}
.to_address_point_txt.find_route{
border-top: 1px solid #E6E6E6;
border-right: 0;

View File

@@ -56,6 +56,12 @@ function open_chat (user_id){
function changeWidthEL (el){
let parent = el.offsetParent
let loader_place = parent.querySelector('.abbreviation_airport_in_search')
loader_place.classList.toggle('hide')
el.classList.toggle('width-100')
if (loader_place.innerHTML){
loader_place.classList.remove('hide')
el.classList.remove('w_100')
} else {
loader_place.classList.add('hide')
el.classList.add('w_100')
}
}