mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Fixed wrong styles for homepage favourites
When using a non-default homepage option. Fixes #2783
This commit is contained in:
parent
9382d647d7
commit
ef1bde8bb1
@ -6,17 +6,15 @@
|
|||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if(count($favourites) > 0)
|
@if(count($favourites) > 0)
|
||||||
<div id="top-favourites" class="card mb-xl">
|
<div id="top-favourites" class="mb-xl">
|
||||||
<h3 class="card-title">
|
<h5>
|
||||||
<a href="{{ url('/favourites') }}" class="no-color">{{ trans('entities.my_most_viewed_favourites') }}</a>
|
<a href="{{ url('/favourites') }}" class="no-color">{{ trans('entities.my_most_viewed_favourites') }}</a>
|
||||||
</h3>
|
</h5>
|
||||||
<div class="px-m">
|
|
||||||
@include('partials.entity-list', [
|
@include('partials.entity-list', [
|
||||||
'entities' => $favourites,
|
'entities' => $favourites,
|
||||||
'style' => 'compact',
|
'style' => 'compact',
|
||||||
])
|
])
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="mb-xl">
|
<div class="mb-xl">
|
||||||
|
Loading…
Reference in New Issue
Block a user