OK I put this in an editor CSS file (specified in settings.js). Does it look right?
.red-ui-debug-msg-topic {
display: block;
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: var(--red-ui-debug-message-text-color-meta);
}
.red-ui-debug-msg-type-string {
white-space: pre-wrap;
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
Just considering msg.topic I get this
The topic in the first line is truncated at the end of the line
The ellipsis shows up but clicking does nothing. I'm happy with this on line 1.
But in the main body topic
is truncated after 30 characters?
It expands in two stages
and
A very nice result but once clicked it can't be reshrunk.