Fixed wrong styles for homepage favourites
When using a non-default homepage option. Fixes #2783
This commit is contained in:
parent
9382d647d7
commit
ef1bde8bb1
1 changed files with 5 additions and 7 deletions
|
@ -6,16 +6,14 @@
|
|||
@endif
|
||||
|
||||
@if(count($favourites) > 0)
|
||||
<div id="top-favourites" class="card mb-xl">
|
||||
<h3 class="card-title">
|
||||
<div id="top-favourites" class="mb-xl">
|
||||
<h5>
|
||||
<a href="{{ url('/favourites') }}" class="no-color">{{ trans('entities.my_most_viewed_favourites') }}</a>
|
||||
</h3>
|
||||
<div class="px-m">
|
||||
@include('partials.entity-list', [
|
||||
</h5>
|
||||
@include('partials.entity-list', [
|
||||
'entities' => $favourites,
|
||||
'style' => 'compact',
|
||||
])
|
||||
</div>
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue