mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 21:03:56 +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 {
|
.tool-output {
|
||||||
color: var(--toolOutput);
|
color: var(--toolOutput);
|
||||||
white-space: pre-wrap;
|
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
|
|
@ -372,7 +371,11 @@
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tool-output > div {
|
.tool-output > div,
|
||||||
|
.output-preview,
|
||||||
|
.output-full {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
line-height: var(--line-height);
|
line-height: var(--line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue