Fix plain text overflow line wrap (#6915)
This commit is contained in:
parent
6123840745
commit
0e057eb033
2 changed files with 6 additions and 0 deletions
|
@ -459,6 +459,7 @@ footer .ui.left,footer .ui.right{line-height:40px}
|
||||||
.repository.file.list .non-diff-file-content .view-raw *{max-width:100%}
|
.repository.file.list .non-diff-file-content .view-raw *{max-width:100%}
|
||||||
.repository.file.list .non-diff-file-content .view-raw img{padding:5px 5px 0 5px}
|
.repository.file.list .non-diff-file-content .view-raw img{padding:5px 5px 0 5px}
|
||||||
.repository.file.list .non-diff-file-content .plain-text{padding:1em 2em 1em 2em}
|
.repository.file.list .non-diff-file-content .plain-text{padding:1em 2em 1em 2em}
|
||||||
|
.repository.file.list .non-diff-file-content .plain-text pre{word-break:break-word;white-space:pre-wrap}
|
||||||
.repository.file.list .non-diff-file-content pre{overflow:auto}
|
.repository.file.list .non-diff-file-content pre{overflow:auto}
|
||||||
.repository.file.list .non-diff-file-content .code-view *{font-size:12px;font-family:'SF Mono',Consolas,Menlo,'Liberation Mono',Monaco,'Lucida Console',monospace;line-height:20px}
|
.repository.file.list .non-diff-file-content .code-view *{font-size:12px;font-family:'SF Mono',Consolas,Menlo,'Liberation Mono',Monaco,'Lucida Console',monospace;line-height:20px}
|
||||||
.repository.file.list .non-diff-file-content .code-view table{width:100%}
|
.repository.file.list .non-diff-file-content .code-view table{width:100%}
|
||||||
|
|
|
@ -393,6 +393,11 @@
|
||||||
|
|
||||||
.plain-text {
|
.plain-text {
|
||||||
padding: 1em 2em 1em 2em;
|
padding: 1em 2em 1em 2em;
|
||||||
|
|
||||||
|
pre {
|
||||||
|
word-break: break-word;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
|
Loading…
Reference in a new issue