diff --git a/public/css/custom.css b/public/css/custom.css index e69de29..57b8221 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -0,0 +1,4 @@ +.thumbnail { + width: auto !important; + height: 20em !important; +} \ No newline at end of file diff --git a/resources/views/catalog/widgets/duplicates.blade.php b/resources/views/catalog/widgets/duplicates.blade.php index c78a4ad..ab727da 100644 --- a/resources/views/catalog/widgets/duplicates.blade.php +++ b/resources/views/catalog/widgets/duplicates.blade.php @@ -17,7 +17,7 @@ - @include($o::config.'.widgets.thumbnail',['o'=>$o,'reference'=>$o->newInstance()]) + @include($o::config.'.widgets.thumbnail',['o'=>$o,'reference'=>$o->newInstance(),'css'=>'thumbnail']) @if (! ($d=$o->myduplicates()->get())->count()) @@ -32,7 +32,7 @@ @php($rendered->push($item)) - @include($item::config.'.widgets.thumbnail',['o'=>$item,'reference'=>$o]) + @include($item::config.'.widgets.thumbnail',['o'=>$item,'reference'=>$o,'css'=>'thumbnail']) @endforeach @endif diff --git a/resources/views/components/photo/thumbnail.blade.php b/resources/views/components/photo/thumbnail.blade.php index c46ba57..069e239 100644 --- a/resources/views/components/photo/thumbnail.blade.php +++ b/resources/views/components/photo/thumbnail.blade.php @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/resources/views/photo/widgets/thumbnail.blade.php b/resources/views/photo/widgets/thumbnail.blade.php index 3a98d35..fb42441 100644 --- a/resources/views/photo/widgets/thumbnail.blade.php +++ b/resources/views/photo/widgets/thumbnail.blade.php @@ -25,7 +25,7 @@
- +