mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
Bug 1113825 - Nowrap content in console.table(). r=bgrins
This commit is contained in:
parent
e5d3a69c4e
commit
5efe427a53
@ -498,6 +498,16 @@ a {
|
|||||||
margin: 5px 0 0 0;
|
margin: 5px 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Force cells to only show one row of contents. Getting normal ellipses
|
||||||
|
behavior has proven impossible so far, so this is better than letting
|
||||||
|
rows get out of vertical alignment when one cell has a lot of content. */
|
||||||
|
.consoletable .table-widget-cell > span {
|
||||||
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
height: 1.25em;
|
||||||
|
line-height: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
.theme-light .message[severity=error] .stacktrace {
|
.theme-light .message[severity=error] .stacktrace {
|
||||||
background-color: rgba(255, 255, 255, 0.5);
|
background-color: rgba(255, 255, 255, 0.5);
|
||||||
}
|
}
|
||||||
|
@ -3620,6 +3620,7 @@ Widgets.Table.prototype = extend(Widgets.BaseWidget.prototype, {
|
|||||||
result.className = "consoletable devtools-monospace";
|
result.className = "consoletable devtools-monospace";
|
||||||
|
|
||||||
this.table = new TableWidget(result, {
|
this.table = new TableWidget(result, {
|
||||||
|
wrapTextInElements: true,
|
||||||
initialColumns: this.columns,
|
initialColumns: this.columns,
|
||||||
uniqueId: "_index",
|
uniqueId: "_index",
|
||||||
firstColumn: "_index"
|
firstColumn: "_index"
|
||||||
|
Loading…
Reference in New Issue
Block a user