Skip to content

Commit 3902ea3

Browse files
mkg20001claude
andcommitted
fix(ui): reduce post truncation from 16 to 8 lines
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 067b09d commit 3902ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/conversation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ fn MessageContentDisplay(
758758

759759
let (display_content_html, content_truncated) = if !expanded && matches!(size, MessageSize::Normal) {
760760
// For truncation, work with plain text then convert back to HTML
761-
let (truncated_text, was_truncated) = truncate_content(&content_text, 16, 512);
761+
let (truncated_text, was_truncated) = truncate_content(&content_text, 8, 512);
762762
if was_truncated {
763763
(text_to_html(&truncated_text), true)
764764
} else {

0 commit comments

Comments
 (0)