From 1ae770aa3d6e5c9fcd70f2dc09df373ab4dcd1ba Mon Sep 17 00:00:00 2001 From: Robert Goldmann <deadlocker@gmx.de> Date: Wed, 18 Jan 2023 22:25:30 +0100 Subject: [PATCH] #724 - improved table width --- .../src/main/resources/static/css/transactionImport.css | 6 +----- .../src/main/resources/static/js/transactionImport.js | 2 -- .../resources/templates/transactions/transactionImport.ftl | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/BudgetMasterServer/src/main/resources/static/css/transactionImport.css b/BudgetMasterServer/src/main/resources/static/css/transactionImport.css index 49d8793cc..1b674849e 100644 --- a/BudgetMasterServer/src/main/resources/static/css/transactionImport.css +++ b/BudgetMasterServer/src/main/resources/static/css/transactionImport.css @@ -24,14 +24,10 @@ } #transaction-import-list { - width: 90%; + width: 95%; margin: auto; } -#table-transaction-rows { - width: 100%; -} - #table-transaction-rows_filter input { height: 1rem; border: none; diff --git a/BudgetMasterServer/src/main/resources/static/js/transactionImport.js b/BudgetMasterServer/src/main/resources/static/js/transactionImport.js index 99038e7b6..5c048b162 100644 --- a/BudgetMasterServer/src/main/resources/static/js/transactionImport.js +++ b/BudgetMasterServer/src/main/resources/static/js/transactionImport.js @@ -14,8 +14,6 @@ $(document).ready(function() scrollX: true, scrollY: true, columnDefs: [ - { width: '30%', targets: 2}, - { width: '30%', targets: 3}, { orderable: false, targets: 5} ], language: { search: '' , searchPlaceholder: localizedSearch}, diff --git a/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl b/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl index 11a4beb9d..6c7e61a0e 100644 --- a/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl +++ b/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl @@ -218,7 +218,7 @@ <#macro renderCsvTransactions> <div id="transaction-import-list"> - <table class="bordered centered" id="table-transaction-rows"> + <table class="bordered centered" id="table-transaction-rows" style="width:100%"> <thead> <tr> <td class="bold">${locale.getString("transactions.import.status")}</td> -- GitLab