0.0.138 scroll search route results

This commit is contained in:
SBD
2025-01-31 19:15:37 +03:00
parent fe110b1eb9
commit 8496a0844c
2 changed files with 9 additions and 2 deletions

View File

@@ -49,6 +49,8 @@
--route-number-font-size: 12px; --route-number-font-size: 12px;
--route-number-margin-top: 5px; --route-number-margin-top: 5px;
--from-to-place-data-width: 205px;
background: var(--route-card-bg); background: var(--route-card-bg);
margin: var(--route-card-margin); margin: var(--route-card-margin);
box-shadow: var(--route-card-box_shadow); box-shadow: var(--route-card-box_shadow);
@@ -226,6 +228,7 @@
} }
} }
.from_to_place_data{ .from_to_place_data{
width: var(--from-to-place-data-width);
@media (max-width: 992px) { @media (max-width: 992px) {
--big-font-size: 14px; --big-font-size: 14px;
} }
@@ -271,6 +274,10 @@
font-size: var(--big-font-size); font-size: var(--big-font-size);
font-weight: 800; font-weight: 800;
color: #272424; color: #272424;
max-width: calc(100% - 45.3px);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
} }
} }

View File

@@ -10,7 +10,7 @@
<div class="country_code">{{ route.from_city.country.code }}</div> <div class="country_code">{{ route.from_city.country.code }}</div>
</div> </div>
<div class="place_title"> <div class="place_title">
{{ route.from_city.name }}/{{ route.from_city.country.name }} {{ route.from_city.name }}
</div> </div>
</div> </div>
{% if route.owner_type == 'mover' %} {% if route.owner_type == 'mover' %}
@@ -53,7 +53,7 @@
<div class="country_code">{{ route.to_city.country.code }}</div> <div class="country_code">{{ route.to_city.country.code }}</div>
</div> </div>
<div class="place_title"> <div class="place_title">
{{ route.to_city.name }}/{{ route.to_city.country.name }} {{ route.to_city.name }}
</div> </div>
</div> </div>
{% if route.owner_type == 'mover' %} {% if route.owner_type == 'mover' %}