Skip to content

Commit

Permalink
Always show thumbnails, rename show-more
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG committed Jan 23, 2025
1 parent 22877ee commit c81a5d3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class="block max-h-full w-auto object-contain"
/>

{{-- Only include the showMore if it's actually possible to be visible --}}
@includeWhen(in_array($imageId + 1, $breakpoints), 'rapidez::product.partials.gallery.thumbnails.showMore')
@includeWhen(in_array($imageId + 1, $breakpoints), 'rapidez::product.partials.gallery.thumbnails.show-more')
</button>
@endfor
</div>
2 changes: 1 addition & 1 deletion resources/views/product/partials/images.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="flex-1" slot-scope="{ images, active, zoomed, toggleZoom, change }">
<div class="sticky top-5 bg-white">
@include('rapidez::product.partials.gallery.slider')
@includeWhen(count($product->images) > 1, 'rapidez::product.partials.gallery.thumbnails')
@include('rapidez::product.partials.gallery.thumbnails')
</div>

@include('rapidez::product.partials.gallery.popup')
Expand Down

0 comments on commit c81a5d3

Please sign in to comment.