The personal finance app for everyone (by everyone)
Ruby
fix: Add border for logo in investments widget (#3642)
Alessio Cappac245ae36e7ff
diff --git a/app/views/pages/dashboard/_investment_summary.html.erb b/app/views/pages/dashboard/_investment_summary.html.erbindex b38c2f9019..a49856a62b 100644--- a/app/views/pages/dashboard/_investment_summary.html.erb+++ b/app/views/pages/dashboard/_investment_summary.html.erb@@ -44,7 +44,7 @@<td class="p-4"><div class="flex items-center gap-3"><% if holding.security.logo_url.present? %>- <img src="<%= holding.security.logo_url %>" alt="<%= holding.ticker %>" class="w-8 h-8 rounded-full">+ <img src="<%= holding.security.logo_url %>" alt="<%= holding.ticker %>" class="w-8 h-8 rounded-full border border-secondary"><% else %><div class="w-8 h-8 rounded-full bg-container-inset flex items-center justify-center text-xs font-medium text-secondary"><%= holding.ticker.to_s.first(2).presence || "—" %>