Skip to content

Commit 07c96dc

Browse files
committed
fix(ai): cap only text tool detail blocks, not task or step lists
1 parent 0734846 commit 07c96dc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎src/styles/Extn-AIChatPanel.less‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,11 @@
12101210
.ai-tool-detail {
12111211
display: none;
12121212
padding: 2px 10px 6px 28px;
1213+
}
1214+
1215+
// Text detail (command, path, code lines) only — task lists and subagent
1216+
// step lists share .ai-tool-detail but always show in full.
1217+
.ai-tool-detail.ai-tool-detail-lines {
12131218
// A long command or script must not turn the card into a wall of
12141219
// text: cap the detail at roughly nine lines and scroll inside it.
12151220
max-height: 160px;

0 commit comments

Comments
 (0)