mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 09:04:26 +00:00
Fix tool-output spacing by removing pre-wrap from container
The white-space: pre-wrap on .tool-output was preserving template literal whitespace (newlines and indentation). The pre elements inside still have pre-wrap for actual code content.
This commit is contained in:
parent
9b2aa4a683
commit
95868ea5e9
1 changed files with 5 additions and 2 deletions
|
|
@ -364,7 +364,6 @@
|
|||
|
||||
.tool-output {
|
||||
color: var(--toolOutput);
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-word;
|
||||
|
|
@ -372,7 +371,11 @@
|
|||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.tool-output > div {
|
||||
.tool-output > div,
|
||||
.output-preview,
|
||||
.output-full {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: var(--line-height);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue