Skip to content

Commit

Permalink
Merge pull request #1883 from nextcloud/automatic-line-break-on-txt-f…
Browse files Browse the repository at this point in the history
…iles

Add automatic line break on txt files
  • Loading branch information
azul committed Oct 27, 2021
2 parents e5e70f7 + e9a0a7d commit 5190221
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 17 deletions.
3 changes: 1 addition & 2 deletions css/prosemirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ div.ProseMirror {
}

pre {
white-space: pre;
overflow-x: auto;
white-space: pre-wrap;
background-color: var(--color-background-dark);
border-radius: var(--border-radius);
padding: 1em 1.3em;
Expand Down
4 changes: 2 additions & 2 deletions js/editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-files.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-files.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-text.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-text.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-viewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-viewer.js.map

Large diffs are not rendered by default.

0 comments on commit 5190221

Please sign in to comment.