Skip to content

Commit 4161b07

Browse files
committed
feat: add max-height to code-block and cleanup css
1 parent 450edc3 commit 4161b07

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/packages/sysinfo/components/sysinfo.element.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class UmbSysinfoElement extends UmbModalBaseElement {
7878
${when(
7979
this._loading,
8080
() => html`<uui-loader-bar></uui-loader-bar>`,
81-
() => html` <umb-code-block> ${this._systemInformation} </umb-code-block> `,
81+
() => html` <umb-code-block id="codeblock"> ${this._systemInformation} </umb-code-block> `,
8282
)}
8383
8484
<uui-button
@@ -131,13 +131,9 @@ ${this._systemInformation}`;
131131
static override readonly styles = [
132132
UmbTextStyles,
133133
css`
134-
#container {
134+
#code-block {
135135
max-height: 300px;
136136
}
137-
138-
.data-cell {
139-
word-break: break-word;
140-
}
141137
`,
142138
];
143139
}

0 commit comments

Comments
 (0)