Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Commit 70ceabb

Browse files
committed
clamp trigger markdown to a single lineoverflowoverflow
1 parent e68e4c2 commit 70ceabb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/AlertsTable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const wrapObjectOutput = (input: AlertConversation["trigger_string"]) => {
3030
if (data === null) return "N/A";
3131
if (typeof data === "string") {
3232
return (
33-
<div className="bg-gray-25 rounded-lg overflow-auto p-4">
34-
<Markdown>{data}</Markdown>
33+
<div className="p-4 line-clamp-1 text-clip">
34+
<Markdown>{data.split("\n")[0] ?? ""}</Markdown>
3535
</div>
3636
);
3737
}

0 commit comments

Comments
 (0)