From 4f5b4a5a61b3ba5587237f10ce8f6ab6c88d390e Mon Sep 17 00:00:00 2001
From: Robert Goldmann <deadlocker@gmx.de>
Date: Sun, 15 Jan 2023 11:35:16 +0100
Subject: [PATCH] #724 - improved table width

---
 .../src/main/resources/static/css/transactionImport.css         | 2 ++
 .../main/resources/templates/transactions/transactionImport.ftl | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/BudgetMasterServer/src/main/resources/static/css/transactionImport.css b/BudgetMasterServer/src/main/resources/static/css/transactionImport.css
index 586c72d4c..49d8793cc 100644
--- a/BudgetMasterServer/src/main/resources/static/css/transactionImport.css
+++ b/BudgetMasterServer/src/main/resources/static/css/transactionImport.css
@@ -1,5 +1,7 @@
 #transaction-import-overview {
     overflow: auto;
+    width: 90%;
+    margin: auto;
 }
 
 .transaction-import-text-with-icon {
diff --git a/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl b/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl
index 29505a74c..11a4beb9d 100644
--- a/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl
+++ b/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl
@@ -194,7 +194,7 @@
 </#macro>
 
 <#macro renderCsvRows>
-    <div class="container" id="transaction-import-overview">
+    <div id="transaction-import-overview">
         <table class="bordered centered">
             <tr>
                 <#if csvRows?has_content>
-- 
GitLab