From 9e9c27a163649f605f3718348c6a3b6799705b1d Mon Sep 17 00:00:00 2001
From: Arne Schauf <git@asw.io>
Date: Fri, 16 Mar 2018 20:53:06 +0100
Subject: left align table cells

---
 src/pages/UploadList.vue | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

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

diff --git a/src/pages/UploadList.vue b/src/pages/UploadList.vue
index 15b56f1..733206f 100644
--- a/src/pages/UploadList.vue
+++ b/src/pages/UploadList.vue
@@ -74,22 +74,24 @@
           rowHeight: '60px',
         },
         tableColumns: [
-          {name: 'title', label: 'Title', field: 'title'},
+          {name: 'title', label: 'Title', field: 'title', align: 'left'},
           {
             name: 'description',
             label: 'Description',
             field: 'description',
+            align: 'left',
             format: el => typeof el === 'string' && el.length > 50 ? el.slice(0, 50) + '...' : el,
           },
-          {name: 'author', label: 'Author', field: row => row.author.username},
-          {name: 'voting', label: 'Voting', field: 'voting'},
+          {name: 'author', label: 'Author', field: row => row.author.username, align: 'left'},
+          {name: 'voting', label: 'Voting', field: 'voting', align: 'left'},
           {
             name: 'updatedAt',
             label: 'Last update',
             field: 'updatedAt',
+            align: 'left',
             format: el => moment(el).from(),
           },
-          {name: 'action', label: 'Actions', field: 'action'},
+          {name: 'action', label: 'Actions', field: 'action', align: 'left'},
         ],
       }
     },
-- 
cgit v1.2.3-54-g00ecf

