Fixed wrong styles for homepage favourites

When using a non-default homepage option.

Fixes #2783
This commit is contained in:
Dan Brown 2021-06-04 22:20:11 +01:00
parent 9382d647d7
commit ef1bde8bb1
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9

View file

@ -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