Merge pull request #906 from BookStackApp/bug/revision-wrap

Fixes issue with code not wrapping on revision page.
This commit is contained in:
Dan Brown 2018-07-01 16:18:49 +01:00 committed by GitHub
commit 9da600caf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -89,6 +89,12 @@
del { del {
background: #FFECEC; background: #FFECEC;
} }
&.page-revision {
pre code {
white-space: pre-wrap;
}
}
} }
// Page content pointers // Page content pointers

View File

@ -14,7 +14,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-9"> <div class="col-md-9">
<div class="page-content"> <div class="page-content page-revision">
@include('pages.page-display') @include('pages.page-display')
</div> </div>
</div> </div>