mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 12:16:07 +00: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 {
|
table {
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
border-collapse: collapse;
|
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