prevent text wrap in stats

This commit is contained in:
Stewart Allen 2025-12-25 22:27:26 -05:00
commit 1505d94fc0
2 changed files with 5 additions and 4 deletions

View file

@ -152,8 +152,8 @@ function prepareSlices(callback, scale = 1, offset = 0) {
let mark = Date.now();
if (lastMsg) {
let key = slicing.length > 1 ?
`${widget.id}_${segNumber++}_${lastMsg}` :
`${segNumber++}_${lastMsg}`
`${widget.id} ${segNumber++} ${lastMsg}` :
`${segNumber++} ${lastMsg}`
segtimes[key] = mark - startTime;
}
lastMsg = msg;
@ -177,8 +177,8 @@ function prepareSlices(callback, scale = 1, offset = 0) {
// update segment time
if (lastMsg) {
let key = slicing.length > 1 ?
`${widget.id}_${segNumber++}_${lastMsg}` :
`${segNumber++}_${lastMsg}`
`${widget.id} ${segNumber++} ${lastMsg}` :
`${segNumber++} ${lastMsg}`
segtimes[`${key}`] = mark - startTime;
}
event.emit('slice', settings.mode);

View file

@ -2535,6 +2535,7 @@ details[open] summary::after {
color: #000;
flex-direction: column;
align-items: flex-end;
white-space: nowrap;
}
#stats hr {
width: 100%;