From f790838093f8b5e16947ca25266bed5daaf662c0 Mon Sep 17 00:00:00 2001 From: Marco Pedone Date: Tue, 28 Apr 2026 14:59:05 +0200 Subject: [PATCH] feat(chat): improve chat attachments styling and adjust button size Co-authored-by: Copilot --- .../src/components/chat/chat-attachments.tsx | 4 ++-- .../src/components/chat/chat-list.tsx | 23 +++++++++++-------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/apps/infoalloggi/src/components/chat/chat-attachments.tsx b/apps/infoalloggi/src/components/chat/chat-attachments.tsx index f933503..f593797 100644 --- a/apps/infoalloggi/src/components/chat/chat-attachments.tsx +++ b/apps/infoalloggi/src/components/chat/chat-attachments.tsx @@ -29,7 +29,7 @@ export const ChatAttachments = ({
{data.map((file) => (
@@ -53,7 +53,7 @@ export const ChatAttachments = ({ params: { mode: "download" }, })} > - diff --git a/apps/infoalloggi/src/components/chat/chat-list.tsx b/apps/infoalloggi/src/components/chat/chat-list.tsx index 570524e..b201e01 100644 --- a/apps/infoalloggi/src/components/chat/chat-list.tsx +++ b/apps/infoalloggi/src/components/chat/chat-list.tsx @@ -313,16 +313,19 @@ export const ChatList = () => { className="mt-1 w-full rounded-md border-l-4 bg-secondary px-2 py-0.5 text-foreground group-hover:bg-secondary/90" style={{ borderColor: reply_userColor }} > - - {message.reply_source.sender === session.id - ? "Tu" - : message.reply_source.nome} - +
+ + + {message.reply_source.sender === session.id + ? "Tu" + : message.reply_source.nome} + +
{message.reply_source.message}