fix: revert back to white-space: pre and fix the underlying issue with sysinfo

This commit is contained in:
Jacob Overgaard
2024-09-30 10:20:41 +02:00
parent 3f3bf7e7f1
commit 5bc9b727de
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ export class UmbCodeBlockElement extends LitElement {
pre,
code {
word-wrap: normal;
white-space: pre-line;
white-space: pre;
}
#header {

View File

@@ -78,7 +78,7 @@ export class UmbSysinfoElement extends UmbModalBaseElement {
${when(
this._loading,
() => html`<uui-loader-bar></uui-loader-bar>`,
() => html` <umb-code-block id="codeblock"> ${this._systemInformation} </umb-code-block> `,
() => html` <umb-code-block id="codeblock">${this._systemInformation}</umb-code-block> `,
)}
<uui-button