fix: revert back to white-space: pre and fix the underlying issue with sysinfo
This commit is contained in:
@@ -86,7 +86,7 @@ export class UmbCodeBlockElement extends LitElement {
|
||||
pre,
|
||||
code {
|
||||
word-wrap: normal;
|
||||
white-space: pre-line;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
#header {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user