From a6267d8bb87de06818eea2a7bc646c8821fb1790 Mon Sep 17 00:00:00 2001
From: Arne Schauf <git@asw.io>
Date: Sat, 3 Mar 2018 13:23:12 +0100
Subject: fix voting and show scenario tags

---
 src/pages/UploadDetail.vue | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

(limited to 'src/pages/UploadDetail.vue')

diff --git a/src/pages/UploadDetail.vue b/src/pages/UploadDetail.vue
index 956e324..3bde141 100644
--- a/src/pages/UploadDetail.vue
+++ b/src/pages/UploadDetail.vue
@@ -1,8 +1,10 @@
 <template>
   <div>
-    <q-btn class="pull-right" @click="$router.push({name: 'upload-list'})" outline icon="fa-list">Back to list</q-btn>
-    <div v-if="upload" class="row">
-      <q-card class="col-6">
+    <p class="text-right">
+      <q-btn @click="$router.push({name: 'upload-list'})" outline icon-right="fa-times" label="Close" />
+    </p>
+    <div v-if="upload">
+      <q-card>
         <q-card-media v-if="upload.pic" overlay-position="top">
           <q-card-title slot="overlay">
             Mod: {{ upload.title }}
@@ -18,9 +20,12 @@
         </q-card-title>
         <q-card-separator />
         <q-card-main>
-          <p class="text-faded description">
+          <p class="text-faded">
             {{ upload.description }}
           </p>
+          <div class="group">
+            <q-chip v-for="tag of upload.tags" :key="tag">{{ tag }}</q-chip>
+          </div>
         </q-card-main>
         <q-card-actions>
           <q-btn @click="openInOpenclonk" color="positive" outline>
-- 
cgit v1.2.3-54-g00ecf

