FIX: fix insanely low file previews

This commit is contained in:
Michal Kváček
2017-09-25 15:29:54 +02:00
parent 1ecef555ef
commit 271e7f5170
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ img {
.card.file-preview .card-block {
padding: 0;
height: 6em;
height: 9em;
overflow: hidden;
}
@@ -1,5 +1,5 @@
@forelse($files as $file)
<div class="col-sm-4 col-md-3 text-center">
<div class="{{$responsiveClass or 'col-sm-4 col-md-3'}} text-center">
@include('admin.snippets.card', [
'body' => '<a href="'.route('upload.detail', ['id' => $file->id]).'">'.\App\CMS\Helpers\FileManager::getPreview($file).'</a>',
'footerClass' => 'text-right',