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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user