Skip to content

Commit

Permalink
fix height on infolist + table column
Browse files Browse the repository at this point in the history
  • Loading branch information
webplusmultimedia committed Apr 17, 2024
1 parent 40208ff commit 1e6d9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/table/gallery-column.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@if(!$hasAvatars())
{{ $record->getFirstMedia($getName())?->withImageProperties($getThumbWidth(),$getThumbHeight()) }}
@else
<div class="flex -space-x-3 p-2 overflow-hidden">
<div class="flex -space-x-3 p-2 overflow-hidden" style="max-height: {{ $getThumbHeight()+16 }}px">
@foreach(collect($record->getMedias($getName()))->take($getMaxAvatars())->all() as $media)
<img class="inline-block rounded-full ring-2 ring-white object-cover" src="{{ $media->getCropUrl($getThumbWidth(),$getThumbHeight()) }}"
alt="{{ $media->getCustomProperty('alt') }}" width="{{ $getThumbWidth() }}"
Expand Down

0 comments on commit 1e6d9ba

Please sign in to comment.