Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(web): widen table copy dropdown popover in chat (#215)

Gener76b4b6bd3675
diff --git a/src/web/src/app/globals.css b/src/web/src/app/globals.css
index 02e4240cd..75e627099 100644
--- a/src/web/src/app/globals.css
+++ b/src/web/src/app/globals.css
@@ -1436,6 +1436,12 @@ html.dark .blog-content [data-rehype-pretty-code-figure] span {
pointer-events: auto;
}
+/* Table copy/download dropdown: escape parent overflow clip */
+[data-streamdown="table-wrapper"] > div:first-child:not(:has([data-streamdown="table"])) .absolute {
+ min-width: 10rem;
+ overflow: visible !important;
+}
+
/* Thin scrollbar for table container */
[data-streamdown="table-wrapper"] > div:has([data-streamdown="table"])::-webkit-scrollbar {
height: 4px;
diff --git a/src/web/src/components/agent-chat/message-list.tsx b/src/web/src/components/agent-chat/message-list.tsx
index 80715cac5..6c534e438 100644
--- a/src/web/src/components/agent-chat/message-list.tsx
+++ b/src/web/src/components/agent-chat/message-list.tsx
@@ -261,7 +261,7 @@ export const MessageItem = memo(function MessageItem({
);
})() : !hasTaskStream ? (
<div className={cn(
- "group/msg flex flex-col justify-start min-w-0 overflow-hidden",
+ "group/msg flex flex-col justify-start min-w-0 overflow-x-clip",
isFlagged && "bg-muted/30 rounded-lg px-2 -mx-2"
)} data-message-id={msg.id} data-quote-source {...(msg.task_id ? { "data-task-id": msg.task_id } : {})}>
{targetConvId && msg.role === "assistant" && msg.task_id && thinkingCount > 1 && (