Skip to content

Commit

Permalink
[desk-tool] Respect newlines in unchanged string diff segments
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Oct 6, 2020
1 parent f6c1303 commit dc740ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@sanity/desk-tool/src/diffs/StringFieldDiff.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
background: #f1f3f6;
padding: 0.75em;
border-radius: 4px;
white-space: pre-line;
}

.segment {
position: relative;
white-space: pre-line;
/* white-space: pre-wrap; */
}

Expand Down

0 comments on commit dc740ee

Please sign in to comment.