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:
Mario Zechner 2026-01-01 21:40:16 +01:00
parent 9b2aa4a683
commit 95868ea5e9

View file

@ -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);
}