From 53f6f5278f154e6e7ccb55492be84230efcbf6ad Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 24 Mar 2025 12:08:24 +0100 Subject: [PATCH] refactor: refs #8326 requested changes --- src/components/ui/CardSummary.vue | 23 +++++ src/css/app.scss | 23 ----- src/pages/Route/Card/RouteSummary.vue | 141 +++++++++++++------------- src/pages/Zone/Card/ZoneSummary.vue | 18 +++- 4 files changed, 111 insertions(+), 94 deletions(-) diff --git a/src/components/ui/CardSummary.vue b/src/components/ui/CardSummary.vue index 05bfed998..2ec6bea78 100644 --- a/src/components/ui/CardSummary.vue +++ b/src/components/ui/CardSummary.vue @@ -201,6 +201,29 @@ async function fetch() { } } } + +.vn-card-group { + display: flex; + flex-direction: column; +} + +.vn-card-content { + display: flex; + flex-direction: column; + text-overflow: ellipsis; + > div { + max-height: 70px; + } +} + +@media (min-width: 1010px) { + .vn-card-group { + flex-direction: row; + } + .vn-card-content { + flex: 1; + } +}