From d8da57805ec8910ccf2600d22179a9fb4882e931 Mon Sep 17 00:00:00 2001
From: Robert Goldmann <deadlocker@gmx.de>
Date: Sat, 20 Aug 2022 00:28:27 +0200
Subject: [PATCH] #400 - fixed min card height

---
 .../src/main/resources/static/css/transactions.css           | 5 ++++-
 .../main/resources/templates/transactions/transactions.ftl   | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/BudgetMasterServer/src/main/resources/static/css/transactions.css b/BudgetMasterServer/src/main/resources/static/css/transactions.css
index 6798b857a..fd631a9c7 100644
--- a/BudgetMasterServer/src/main/resources/static/css/transactions.css
+++ b/BudgetMasterServer/src/main/resources/static/css/transactions.css
@@ -40,13 +40,16 @@
 
 .transaction-row-top {
     padding: 14px 0.5rem 0 0.5rem;
-    min-height: 3.4rem;
 }
 
 .transaction-row-bottom {
     padding-bottom: 14px;
 }
 
+.transaction-row-desktop {
+    min-height: 3.4rem;
+}
+
 .transaction-row-transparent {
     opacity: 0.5;
 }
diff --git a/BudgetMasterServer/src/main/resources/templates/transactions/transactions.ftl b/BudgetMasterServer/src/main/resources/templates/transactions/transactions.ftl
index e9e671fae..e6ce8d4db 100644
--- a/BudgetMasterServer/src/main/resources/templates/transactions/transactions.ftl
+++ b/BudgetMasterServer/src/main/resources/templates/transactions/transactions.ftl
@@ -77,7 +77,7 @@
                             </div>
 
                             <div class="hide-on-med-and-down transaction-row-top card transaction-card transaction-row-bottom background-light <#if transaction.isFuture()>transaction-row-transparent</#if> <#if shouldHighlight>background-blue-light transaction-row-transparent-override" id="highlighted-large"<#else>"</#if>>
-                                <div class="row valign-wrapper no-margin-bottom">
+                                <div class="row valign-wrapper no-margin-bottom transaction-row-desktop">
                                     <@transactionsMacros.transactionCategory transaction "left-align"/>
                                     <@transactionsMacros.transactionAccountIcon transaction/>
                                     <@transactionsMacros.transactionType transaction "l1 xl1"/>
-- 
GitLab