Skip to content

Commit

Permalink
fix: do wrap only values anywhere, do not wrap keys anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Aug 2, 2021
1 parent b303b60 commit 5879826
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/lib/components/modes/treemode/JSONValue.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
@import 'shared';

.value {
overflow-wrap: anywhere;

&.string {
color: $value-color-string;
}
Expand Down
1 change: 0 additions & 1 deletion src/lib/components/modes/treemode/shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ div.editable-div {
line-height: $line-height;
min-width: 16px;
word-break: normal;
overflow-wrap: anywhere;
padding: 0 $input-padding;
box-sizing: border-box;
outline: none;
Expand Down

0 comments on commit 5879826

Please sign in to comment.