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

Made comments section more subtle

Also removed spacing from within details above active restrictions
This commit is contained in:
Dan Brown
2018-05-27 20:20:13 +01:00
parent 64eabaf882
commit 173eaf1c98
6 changed files with 23 additions and 16 deletions

View File

@ -1,5 +1,5 @@
<div page-comments page-id="{{ $page->id }}" ng-non-bindable class="comments-list">
<h3 comments-title>{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}</h3>
<h5 comments-title class="float left">{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}</h5>
<div class="comment-container" comment-container>
@foreach($page->comments as $comment)
@ -7,7 +7,6 @@
@endforeach
</div>
@if(userCan('comment-create-all'))
<div class="comment-box" comment-box style="display:none;">
@ -33,7 +32,7 @@
</div>
<div class="form-group" comment-add-button>
<button type="button" action="addComment" class="button outline">{{ trans('entities.comment_add') }}</button>
<button type="button" action="addComment" class="button outline float right">{{ trans('entities.comment_add') }}</button>
</div>
@endif