The personal finance app for everyone (by everyone)
Ruby
fix(transactions): stop merchant and security logos being squeezed when the row is tight (#3729)
connechtc34b89ef3dc8
diff --git a/app/views/transactions/_split_parent_row.html.erb b/app/views/transactions/_split_parent_row.html.erbindex e6227351f6..b35f8178f9 100644--- a/app/views/transactions/_split_parent_row.html.erb+++ b/app/views/transactions/_split_parent_row.html.erb@@ -10,7 +10,7 @@<div class="max-w-full"><div class="flex items-center gap-3 lg:gap-4">- <div class="hidden lg:flex">+ <div class="hidden lg:flex shrink-0"><% if transaction.merchant&.logo_url.present? %><%= image_tag Setting.transform_brand_fetch_url(transaction.merchant.logo_url),class: "w-9 h-9 rounded-full border border-secondary",diff --git a/app/views/transactions/_transaction.html.erb b/app/views/transactions/_transaction.html.erbindex 98adcf26ef..0455b4047e 100644--- a/app/views/transactions/_transaction.html.erb+++ b/app/views/transactions/_transaction.html.erb@@ -41,7 +41,7 @@<div class="max-w-full min-w-0 <%= "opacity-50 text-secondary" if entry.excluded %>"><%= content_tag :div, class: ["flex items-center gap-3 lg:gap-4"] do %>- <div class="hidden lg:flex">+ <div class="hidden lg:flex shrink-0"><% if transaction.transfer? %><%= render DS::FilledIcon.new(icon: "arrow-right-left",