mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-22 13:31:49 +08:00
Fixed code block wrapping on export
Now wraps instead of running off the page. Fixed #676
This commit is contained in:
parent
7c44f5462c
commit
1d49b65c2e
|
@ -13,4 +13,15 @@
|
|||
table {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
// Prevent code block overflow on export
|
||||
pre {
|
||||
padding-left: 12px;
|
||||
}
|
||||
pre:after {
|
||||
display: none;
|
||||
}
|
||||
pre code {
|
||||
white-space: pre-wrap;
|
||||
}
|
Loading…
Reference in New Issue
Block a user