Skip to content

Commit 42f9f61

Browse files
committed
Fix text wrap when line is too long
1 parent 9e2e369 commit 42f9f61

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-json-viewer",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "JSON formatter / viewer for Angular 2/4/5+",
55
"keywords": [
66
"angular",

src/ngx-json-viewer/ngx-json-viewer.component.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ $type-colors: (
2424
margin: 1px 1px 1px 12px;
2525

2626
.segment-main {
27+
word-wrap: break-word;
28+
2729
.toggler {
2830
position: absolute;
2931
margin-left: -14px;

0 commit comments

Comments
 (0)