From 287107ecd044fc924ac6d80b33e98297111a31ee Mon Sep 17 00:00:00 2001
From: Arne Schauf <git@asw.io>
Date: Sat, 3 Mar 2018 19:11:16 +0100
Subject: another change of the layout

---
 src/pages/UploadDetail.vue | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

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

diff --git a/src/pages/UploadDetail.vue b/src/pages/UploadDetail.vue
index 4967283..53de013 100644
--- a/src/pages/UploadDetail.vue
+++ b/src/pages/UploadDetail.vue
@@ -1,15 +1,17 @@
 <template>
   <div>
-    <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">
             {{ upload.title }}
-            <span slot="subtitle">by {{ upload.author.username }}</span>
-            <span slot="right" class="text-white" style="margin-left: 3rem">updated {{ upload.updatedAt | moment("from") }}</span>
+            <span slot="subtitle">
+              by {{ upload.author.username }},
+              updated {{ upload.updatedAt | moment("from") }}
+            </span>
+            <span slot="right" class="text-white" style="margin-left: 3rem">
+            <q-btn @click="$router.push({name: 'upload-list'})" flat round icon="fa-times" color="negative"/>
+            </span>
           </q-card-title>
           <img :src="`${$http.defaults.baseURL}/media/${upload.pic._id}`">
         </q-card-media>
-- 
cgit v1.2.3-54-g00ecf

