1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

Update embed view

This commit is contained in:
Daniel Supernault 2019-11-24 13:48:39 -07:00
parent 81ab02ecc4
commit 734e0f489b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -42,7 +42,7 @@
{{$item->profile->username}} {{$item->profile->username}}
</a> </a>
</div> </div>
<a href="{{$status->url()}}"> <a href="{{$status->url()}}" target="_blank">
@php($status = $item) @php($status = $item)
@switch($status->viewType()) @switch($status->viewType())
@case('photo') @case('photo')
@ -53,7 +53,7 @@
<p class="mb-0 lead font-weight-bold">CW / NSFW / Hidden Media</p> <p class="mb-0 lead font-weight-bold">CW / NSFW / Hidden Media</p>
<p class="font-weight-light">(click to show)</p> <p class="font-weight-light">(click to show)</p>
</summary> </summary>
<a class="max-hide-overflow {{$status->firstMedia()->filter_class}}" href="{{$status->url()}}"> <a class="max-hide-overflow {{$status->firstMedia()->filter_class}}" href="{{$status->url()}}" target="_blank">
<img class="card-img-top" src="{{$status->mediaUrl()}}"> <img class="card-img-top" src="{{$status->mediaUrl()}}">
</a> </a>
</details> </details>