diff --git a/static/v2/css/widgets/w_route_card.css b/static/v2/css/widgets/w_route_card.css index 4d3f134..1d6c0eb 100644 --- a/static/v2/css/widgets/w_route_card.css +++ b/static/v2/css/widgets/w_route_card.css @@ -49,6 +49,8 @@ --route-number-font-size: 12px; --route-number-margin-top: 5px; + --from-to-place-data-width: 205px; + background: var(--route-card-bg); margin: var(--route-card-margin); box-shadow: var(--route-card-box_shadow); @@ -226,6 +228,7 @@ } } .from_to_place_data{ + width: var(--from-to-place-data-width); @media (max-width: 992px) { --big-font-size: 14px; } @@ -271,6 +274,10 @@ font-size: var(--big-font-size); font-weight: 800; color: #272424; + max-width: calc(100% - 45.3px); + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } } } diff --git a/templates/v2/content_widgets/w_route_card/route_card_route_data.html b/templates/v2/content_widgets/w_route_card/route_card_route_data.html index 4a4f645..e372265 100644 --- a/templates/v2/content_widgets/w_route_card/route_card_route_data.html +++ b/templates/v2/content_widgets/w_route_card/route_card_route_data.html @@ -10,7 +10,7 @@