prevent text wrap in stats
This commit is contained in:
parent
1f663f3cc9
commit
1505d94fc0
2 changed files with 5 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -2535,6 +2535,7 @@ details[open] summary::after {
|
|||
color: #000;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
white-space: nowrap;
|
||||
}
|
||||
#stats hr {
|
||||
width: 100%;
|
||||
|
|
|
|||
Loading…
Reference in a new issue