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();
|
let mark = Date.now();
|
||||||
if (lastMsg) {
|
if (lastMsg) {
|
||||||
let key = slicing.length > 1 ?
|
let key = slicing.length > 1 ?
|
||||||
`${widget.id}_${segNumber++}_${lastMsg}` :
|
`${widget.id} ${segNumber++} ${lastMsg}` :
|
||||||
`${segNumber++}_${lastMsg}`
|
`${segNumber++} ${lastMsg}`
|
||||||
segtimes[key] = mark - startTime;
|
segtimes[key] = mark - startTime;
|
||||||
}
|
}
|
||||||
lastMsg = msg;
|
lastMsg = msg;
|
||||||
|
|
@ -177,8 +177,8 @@ function prepareSlices(callback, scale = 1, offset = 0) {
|
||||||
// update segment time
|
// update segment time
|
||||||
if (lastMsg) {
|
if (lastMsg) {
|
||||||
let key = slicing.length > 1 ?
|
let key = slicing.length > 1 ?
|
||||||
`${widget.id}_${segNumber++}_${lastMsg}` :
|
`${widget.id} ${segNumber++} ${lastMsg}` :
|
||||||
`${segNumber++}_${lastMsg}`
|
`${segNumber++} ${lastMsg}`
|
||||||
segtimes[`${key}`] = mark - startTime;
|
segtimes[`${key}`] = mark - startTime;
|
||||||
}
|
}
|
||||||
event.emit('slice', settings.mode);
|
event.emit('slice', settings.mode);
|
||||||
|
|
|
||||||
|
|
@ -2535,6 +2535,7 @@ details[open] summary::after {
|
||||||
color: #000;
|
color: #000;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
#stats hr {
|
#stats hr {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue