From 00086bdca00503ec9cb543ab82d63a67d167b568 Mon Sep 17 00:00:00 2001 From: Alessio Cappa <104093777+alessiocappa@users.noreply.github.com> Date: Sat, 15 Nov 2025 10:17:25 +0100 Subject: [PATCH] Fix title overflow issue in chats (#331) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: Truncate title in chats view if too long * Add hover --------- Co-authored-by: Juan José Mata --- app/views/chats/_chat.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/chats/_chat.html.erb b/app/views/chats/_chat.html.erb index 9eb35a0f5..fc082f377 100644 --- a/app/views/chats/_chat.html.erb +++ b/app/views/chats/_chat.html.erb @@ -1,8 +1,8 @@ <%# locals: (chat:) %> <%= tag.div class: "flex items-center justify-between px-4 py-3 bg-container shadow-border-xs rounded-lg" do %> -
- <%= turbo_frame_tag dom_id(chat, :title) do %> +
+ <%= turbo_frame_tag dom_id(chat, :title), title: chat.title do %> <%= render "chats/chat_title", chat: chat, ctx: "list" %> <% end %>