generated from boboko/starter
account pages: login, order history, order details, account details, wishlist
This commit is contained in:
@@ -23,10 +23,14 @@ class="grid grid-cols-1 md:grid-cols-2 gap-12"
|
||||
>
|
||||
|
||||
{{-- Image --}}
|
||||
{{-- relative: anchors the wishlist heart to the top right, which is
|
||||
the main image's corner (thumbnails sit on the left). --}}
|
||||
<div
|
||||
data-controller="product-gallery"
|
||||
class="flex gap-4 items-start"
|
||||
class="relative flex gap-4 items-start"
|
||||
>
|
||||
<x-wishlist-button :product-id="$product['id']" class="absolute top-4 right-4 z-10" />
|
||||
|
||||
@if(!empty($product['media']))
|
||||
{{-- Thumbnails --}}
|
||||
<div class="flex flex-col items-center gap-1 w-[116px] shrink-0 -mt-12.5">
|
||||
|
||||
Reference in New Issue
Block a user