Fix squashed avatars and long images in timelines

This commit is contained in:
Stasiek Michalski 2018-06-06 07:02:28 +02:00 committed by GitHub
parent 99975da140
commit 28535a6416
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
<div class="card my-4 status-card"> <div class="card my-4 status-card">
<div class="card-header d-inline-flex align-items-center bg-white"> <div class="card-header d-inline-flex align-items-center bg-white">
<img class="img-thumbnail" src="{{$item->profile->avatarUrl()}}" width="32px" height="32px" style="border-radius: 32px;"> <img src="{{$item->profile->avatarUrl()}}" width="32px" height="32px" style="border-radius: 32px;">
<a class="username font-weight-bold pl-2 text-dark" href="{{$item->profile->url()}}"> <a class="username font-weight-bold pl-2 text-dark" href="{{$item->profile->url()}}">
{{$item->profile->username}} {{$item->profile->username}}
</a> </a>
@ -28,7 +28,7 @@
</div> </div>
</div> </div>
</div> </div>
<a href="{{$item->url()}}"> <a class="max-hide-overflow" href="{{$item->url()}}">
<img class="card-img-top" src="{{$item->mediaUrl()}}"> <img class="card-img-top" src="{{$item->mediaUrl()}}">
</a> </a>
<div class="card-body"> <div class="card-body">