mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-22 21:51:50 +08:00
Fixed code block wrapping on export
Now wraps instead of running off the page. Fixed #676
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
Reference in New Issue
Block a user