From 12037679e5138f5c20f8a492c07eb9cf10343fc4 Mon Sep 17 00:00:00 2001 From: Jakob Date: Wed, 4 Sep 2019 07:42:40 +0200 Subject: [PATCH] tags are now in one line Signed-off-by: Jakob --- src/components/cards/CardItem.vue | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/src/components/cards/CardItem.vue b/src/components/cards/CardItem.vue index 913203233..8bbc61e90 100644 --- a/src/components/cards/CardItem.vue +++ b/src/components/cards/CardItem.vue @@ -41,9 +41,9 @@ - +
+
{{ label.title }}
+
@@ -183,17 +183,35 @@ export default { } .labels { + flex-grow: 1; + flex-shrink: 1; + min-width: 0; + display: flex; + flex-direction: row; margin-left: $card-padding; margin-top: -5px; - overflow: hidden; - li { - float: left; + div { + flex-basis: 5em; + flex-grow: 0; + flex-shrink: 1; + display: flex; + flex-direction: row; + overflow: hidden; padding: 1px 3px; border-radius: 3px; font-size: 85%; margin-right: 3px; margin-bottom: 3px; + + span { + flex-grow: 0; + flex-shrink: 1; + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } } }