mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-27 21:44:21 -04:00
Update to support wrap syntax for code block
This commit is contained in:
parent
f93e8f5fdc
commit
211d25253e
4 changed files with 20 additions and 3 deletions
|
@ -121,3 +121,11 @@
|
|||
max-width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.markdown-body pre > code.wrap {
|
||||
white-space: pre-wrap; /* Since CSS 2.1 */
|
||||
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
||||
white-space: -pre-wrap; /* Opera 4-6 */
|
||||
white-space: -o-pre-wrap; /* Opera 7 */
|
||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue