mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 06:23:18 +00:00
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,12 +101,14 @@
|
||||||
@foreach($timeline as $status)
|
@foreach($timeline as $status)
|
||||||
<div class="col-12 col-md-4 mb-4">
|
<div class="col-12 col-md-4 mb-4">
|
||||||
<a class="card info-overlay" href="{{$status->url()}}">
|
<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="info-overlay-text">
|
<div class="square-content" style="background-image: url('{{$status->thumb()}}')"></div>
|
||||||
<h5 class="text-white m-auto">
|
<div class="info-overlay-text">
|
||||||
<span class="icon-heart">{{$item->likes()->count()}}</span>
|
<h5 class="text-white m-auto">
|
||||||
<span class="icon-speech">{{$item->comments()->count()}}</span>
|
<span class="icon-heart">{{$item->likes()->count()}}</span>
|
||||||
</h5>
|
<span class="icon-speech">{{$item->comments()->count()}}</span>
|
||||||
|
</h5>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue