From 09a396632af4a3e2b1ed91d58ad9634c7f17faa9 Mon Sep 17 00:00:00 2001
From: meskio <meskio@sindominio.net>
Date: Mon, 28 Sep 2020 14:54:37 +0200
Subject: [PATCH] Stile a bit the transation list

---
 src/TransactionList.js | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/src/TransactionList.js b/src/TransactionList.js
index d62603b..c52de0e 100644
--- a/src/TransactionList.js
+++ b/src/TransactionList.js
@@ -6,13 +6,14 @@ import Fetcher from './Fetcher';
 import { printMoney, printDate } from './util';
 
 const columns = [
-    {dataField: 'type', text: '', formatter: cell => {
-        switch (cell) {
-            case "purchase":
-                return <FaShoppingBasket />;
-            default:
-                return <FaMoneyBillAlt />;
-        };
+    {dataField: 'type', text: '', align: 'center',
+        formatter: cell => {
+            switch (cell) {
+                case "purchase":
+                    return <FaShoppingBasket />;
+                default:
+                    return <FaMoneyBillAlt />;
+            };
     }},
     {dataField: 'date', text: 'Fecha', formatter: printDate},
     {dataField: 'total', text: 'Total', formatter: cell => printMoney(cell)+" €"},
@@ -35,6 +36,8 @@ function TransactionList() {
                 rowEvents={{
                     onClick: (_, row) => setClicID(row.ID)
                 }}
+                classes="stripped"
+                bordered={ false }
             />
         </Fetcher>
     );
-- 
GitLab