Enable CSS to show thumbnail at a fixed height. Fix showing created dates are the same

This commit is contained in:
Deon George 2024-09-18 16:10:21 +10:00
parent 5bd5bb8488
commit 75313d8dd1
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
<a href="{{ url('p/view',$id) }}" target="{{ $id }}">
<img @class(['pb-3','w-100',$css]) src="{{ url('p/thumbnail',$id) }}">
<img @class(['pb-3','w-100',$css ?? FALSE]) src="{{ url('p/thumbnail',$id) }}">
</a>

View File

@ -1,3 +1,3 @@
<a href="{{ url('v/view',$id) }}" target="{{ $id }}">
<video class="pb-3 w-100" src="{{ url('v/view/'.$id) }}" controls></video>
<video @class(['pb-3','w-100',$css ?? FALSE]) src="{{ url('v/view/'.$id) }}" controls></video>
</a>