Skip to content

Commit

Permalink
DevTools: [Console] wrap long strings in console
Browse files Browse the repository at this point in the history
The "white-space: pre" was introduced in crrev.com/1304033003 to avoid
spaces collapsing.

The "white-space: pre-wrap" does not collapse spaces and wraps text
if needed.

BUG=583644
R=pfeldman, dgozman

Review URL: https://codereview.chromium.org/1681013002

Cr-Commit-Position: refs/heads/master@{#374292}
  • Loading branch information
aslushnikov authored and Commit bot committed Feb 9, 2016
1 parent 8bf1937 commit c96df75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front_end/components/objectValue.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
.object-value-regexp,
.object-value-symbol {
color: rgb(196, 26, 22);
white-space: pre;
white-space: pre-wrap;
unicode-bidi: -webkit-isolate;
}

Expand Down

0 comments on commit c96df75

Please sign in to comment.