forked from mirror/pixelfed
Add supporting classes to square based layout
This commit is contained in:
parent
cf0943a00a
commit
66f285c2b1
1 changed files with 8 additions and 6 deletions
|
@ -101,13 +101,15 @@
|
|||
@foreach($timeline as $status)
|
||||
<div class="col-12 col-md-4 mb-4">
|
||||
<a class="card info-overlay" href="{{$status->url()}}">
|
||||
<img class="card-img-top" src="{{$status->thumb()}}" width="300px" height="300px">
|
||||
<div class="square">
|
||||
<div class="square-content" style="background-image: url('{{$status->thumb()}}')"></div>
|
||||
<div class="info-overlay-text">
|
||||
<h5 class="text-white m-auto">
|
||||
<span class="icon-heart">{{$item->likes()->count()}}</span>
|
||||
<span class="icon-speech">{{$item->comments()->count()}}</span>
|
||||
</h5>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
|
|
Loading…
Reference in a new issue