mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
Fix title overflow issue in chats (#331)
* fix: Truncate title in chats view if too long * Add hover --------- Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
@@ -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 %>
|
||||
<div class="grow">
|
||||
<%= turbo_frame_tag dom_id(chat, :title) do %>
|
||||
<div class="grow truncate">
|
||||
<%= turbo_frame_tag dom_id(chat, :title), title: chat.title do %>
|
||||
<%= render "chats/chat_title", chat: chat, ctx: "list" %>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user