Skip to content

Commit

Permalink
fix: revert back to white-space: pre and fix the underlying issue w…
Browse files Browse the repository at this point in the history
…ith sysinfo
  • Loading branch information
iOvergaard committed Sep 30, 2024
1 parent b2c598f commit 71eeca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class UmbCodeBlockElement extends LitElement {
pre,
code {
word-wrap: normal;
white-space: pre-line;
white-space: pre;
}
#header {
Expand Down
2 changes: 1 addition & 1 deletion src/packages/sysinfo/components/sysinfo.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71eeca0

Please sign in to comment.