feat: add max-height to code-block and cleanup css
This commit is contained in:
@@ -78,7 +78,7 @@ export class UmbSysinfoElement extends UmbModalBaseElement {
|
||||
${when(
|
||||
this._loading,
|
||||
() => html`<uui-loader-bar></uui-loader-bar>`,
|
||||
() => html` <umb-code-block> ${this._systemInformation} </umb-code-block> `,
|
||||
() => html` <umb-code-block id="codeblock"> ${this._systemInformation} </umb-code-block> `,
|
||||
)}
|
||||
|
||||
<uui-button
|
||||
@@ -131,13 +131,9 @@ ${this._systemInformation}`;
|
||||
static override readonly styles = [
|
||||
UmbTextStyles,
|
||||
css`
|
||||
#container {
|
||||
#code-block {
|
||||
max-height: 300px;
|
||||
}
|
||||
|
||||
.data-cell {
|
||||
word-break: break-word;
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user