From 7221c5c2f3f13dfd052e872b99afbf3c74e8cb0d Mon Sep 17 00:00:00 2001 From: Robert Goldmann <deadlocker@gmx.de> Date: Wed, 11 Jan 2023 23:21:27 +0100 Subject: [PATCH] #724 - reduce row height and do not show label for text input --- .../src/main/resources/static/css/transactionImport.css | 4 ++++ .../resources/templates/transactions/transactionImport.ftl | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/BudgetMasterServer/src/main/resources/static/css/transactionImport.css b/BudgetMasterServer/src/main/resources/static/css/transactionImport.css index 7056f8b1c..276482543 100644 --- a/BudgetMasterServer/src/main/resources/static/css/transactionImport.css +++ b/BudgetMasterServer/src/main/resources/static/css/transactionImport.css @@ -15,4 +15,8 @@ .transaction-import-row-skipped { opacity: 0.5; +} + +#table-transaction-rows td { + padding: 5px; } \ No newline at end of file diff --git a/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl b/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl index 6ebad9810..0291db3ba 100644 --- a/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl +++ b/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl @@ -188,7 +188,7 @@ <#macro renderCsvTransactions> <div class="container" id="transaction-import-list"> - <table class="bordered centered"> + <table class="bordered centered" id="table-transaction-rows"> <tr> <td class="bold">${locale.getString("transactions.import.status")}</td> <td class="bold">${locale.getString("transaction.new.label.date")}</td> @@ -211,9 +211,8 @@ <td><@statusBanner csvTransaction.getStatus()/></td> <td>${csvTransaction.getDate()}</td> <td> - <div class="input-field"> - <input id="name-${index}" type="text" name="name" required value="${csvTransaction.getName()}"> - <label class="input-label" for="name-${index}">${locale.getString("transaction.new.label.name")}</label> + <div class="input-field no-margin-top no-margin-bottom"> + <input class="no-margin-bottom" type="text" name="name" required value="${csvTransaction.getName()}"> </div> </td> <td>${csvTransaction.getAmount()}</td> -- GitLab