From 2178eeab1f7c2828cc2635f56b1a8017919a55ff Mon Sep 17 00:00:00 2001 From: Josh Pigford Date: Wed, 20 Nov 2024 20:57:55 -0600 Subject: [PATCH] Update trade row layout to truncate long text --- .../content/inside_trading_tracker/_trade_row.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/tools/widgets/content/inside_trading_tracker/_trade_row.html.erb b/app/views/tools/widgets/content/inside_trading_tracker/_trade_row.html.erb index f19b114..be2577b 100644 --- a/app/views/tools/widgets/content/inside_trading_tracker/_trade_row.html.erb +++ b/app/views/tools/widgets/content/inside_trading_tracker/_trade_row.html.erb @@ -3,10 +3,10 @@
<%= link_to "/tools/inside-trading-tracker/#{trade[:ticker]}", class: "flex items-center gap-2 hover:text-blue-600", data: { turbo_frame: "_top" } do %> <%= trade[:ticker] %> logo -
- <%= trade[:full_name].titleize %> +
+
<%= trade[:full_name].titleize %>
<% if @tool.symbol.blank? %> -
<%= trade[:company] %>
+
<%= trade[:company] %>
<% end %>
<% end %>