From 00952a0e3e0ab93d6381ba2580c2a734d603c310 Mon Sep 17 00:00:00 2001 From: borissedw Date: Fri, 18 Aug 2023 15:09:04 +0300 Subject: [PATCH] 0.0.159 --- static/css/styles(boris).css | 14 ++++++++++++++ templates/pages/p_results_find_route.html | 1 + templates/widgets/w_carrier_card.html | 4 ++-- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 2a37cb6..ac965be 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -920,6 +920,7 @@ margin-bottom: 20px; } + .from-to-country-text.left{ color: #272424; font-size: 16px; @@ -930,8 +931,13 @@ /*padding-left: 80px;*/ float: left; text-align: right; + overflow: hidden; + height: 20px; + white-space: nowrap; + text-overflow: ellipsis; } + .from-to-country-text.right{ color: #272424; font-size: 16px; @@ -942,6 +948,14 @@ /*padding-right: 80px;*/ float: right; text-align: left; + overflow: hidden; + height: 20px; + white-space: nowrap; + text-overflow: ellipsis; +} + +.from-to-country-text.right:hover{ + } diff --git a/templates/pages/p_results_find_route.html b/templates/pages/p_results_find_route.html index db7d4b8..86763da 100644 --- a/templates/pages/p_results_find_route.html +++ b/templates/pages/p_results_find_route.html @@ -8,6 +8,7 @@ {# #} + {% endblock %} diff --git a/templates/widgets/w_carrier_card.html b/templates/widgets/w_carrier_card.html index 524cda7..3cf81a9 100644 --- a/templates/widgets/w_carrier_card.html +++ b/templates/widgets/w_carrier_card.html @@ -11,11 +11,11 @@
-
+
{% if route.from_country %}{{ route.from_country }}{% else %}Неизвестно{% endif %} / {% if route.from_city %}{{ route.from_city }}{% else %}Неизвестно{% endif %}
-
+
{% if route.to_country %}{{ route.to_country }}{% else %}Неизвестно{% endif %} / {% if route.to_city %}{{ route.to_city }}{% else %}Неизвестно{% endif %}