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,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">