feat: ensure data can stay within the cell

This commit is contained in:
Jacob Overgaard
2024-09-09 18:22:05 +02:00
parent c0ca65a05d
commit e7261efce9

View File

@@ -62,7 +62,7 @@ export class UmbSysinfoElement extends UmbModalBaseElement {
return html`
<uui-table-row>
<uui-table-cell>${serverKeyValue.name}</uui-table-cell>
<uui-table-cell>${serverKeyValue.data}</uui-table-cell>
<uui-table-cell class="data-cell">${serverKeyValue.data}</uui-table-cell>
</uui-table-row>
`;
});
@@ -144,6 +144,10 @@ ${serverKeyValues}`;
max-height: 300px;
overflow: auto;
}
.data-cell {
word-break: break-word;
}
`,
];
}