1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 15:42:41 +01:00

Fixed page edit to have white background

This commit is contained in:
Dan Brown 2019-02-03 17:53:54 +00:00
parent 5325870271
commit 49deab3a02
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
4 changed files with 5 additions and 3 deletions

View File

@ -419,7 +419,7 @@ class WysiwygEditor {
plugins: this.plugins,
imagetools_toolbar: 'imageoptions',
toolbar: this.getToolBar(),
content_style: "body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",
content_style: "html, body {background: #FFF;} body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",
style_formats: [
{title: "Header Large", format: "h2"},
{title: "Header Medium", format: "h3"},

View File

@ -3,6 +3,7 @@
flex-direction: column;
align-items: stretch;
overflow: hidden;
background-color: #FFF;
.faded-small {
height: auto;
}

View File

@ -1,3 +1,4 @@
{{--TODO--}}
<div page-comments page-id="{{ $page->id }}" class="comments-list">
<h5 comments-title class="float left">{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}</h5>

View File

@ -13,8 +13,8 @@
@if(!isset($isDraft))
<input type="hidden" name="_method" value="PUT">
@endif
@include('pages/form', ['model' => $page])
@include('pages/form-toolbox')
@include('pages.form', ['model' => $page])
@include('pages.form-toolbox')
</form>
</div>