1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

Merge branch 'diff' of git://github.com/younes0/BookStack into younes0-diff

This commit is contained in:
Dan Brown
2016-09-29 09:32:40 +01:00
6 changed files with 219 additions and 54 deletions

12
resources/assets/sass/_pages.scss Normal file → Executable file
View File

@@ -71,6 +71,18 @@
max-width: 100%;
height: auto !important;
}
// diffs
ins,
del {
text-decoration: none;
}
ins {
background: #dbffdb;
}
del {
background: #FFECEC;
}
}
// Page content pointers

View File

@@ -24,5 +24,9 @@
<div style="clear:left;"></div>
{!! $page->html !!}
@if (isset($diff) && $diff)
{!! $diff !!}
@else
{!! $page->html !!}
@endif
</div>