Skip to content

Commit

Permalink
Fixes issue with code not wrapping on revision page.
Browse files Browse the repository at this point in the history
Closes #888

Signed-off-by: Abijeet <[email protected]>
  • Loading branch information
Abijeet committed Jun 30, 2018
1 parent b3cc313 commit fb29f41
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions resources/assets/sass/_pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@
del {
background: #FFECEC;
}

&.page-revision {
pre code {
white-space: pre-wrap;
}
}
}

// Page content pointers
Expand Down
2 changes: 1 addition & 1 deletion resources/views/pages/revision.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="container">
<div class="row">
<div class="col-md-9">
<div class="page-content">
<div class="page-content page-revision">
@include('pages.page-display')
</div>
</div>
Expand Down

0 comments on commit fb29f41

Please sign in to comment.