Bug 1356504 - Apply a default style for console.group string. r=bgrins
Because we now parse the arguments of console.group like in console.log,
we are using Reps to display the group name. This implies that the Reps
styles are used, which is not something we want for simple text group names.
We add specificity to the existing group rule so we can have the default style back.
MozReview-Commit-ID: A2zrF8ElZGZ
--- a/devtools/client/themes/webconsole.css
+++ b/devtools/client/themes/webconsole.css
@@ -748,18 +748,18 @@ a.learn-more-link.webconsole-learn-more-
.webconsole-filterbar-primary .devtools-plaininput {
flex: 1 1 100%;
}
.webconsole-output.hideTimestamps > .message > .timestamp {
display: none;
}
-.message.startGroup .message-body,
-.message.startGroupCollapsed .message-body {
+.message.startGroup .message-body > .objectBox-string,
+.message.startGroupCollapsed .message-body > .objectBox-string {
color: var(--theme-body-color);
font-weight: bold;
}
.webconsole-output-wrapper .message > .icon {
margin: 3px 0 0 0;
padding: 0 0 0 6px;
}