From 7c9fe57e6e21d51dbd5480e3ed4fdfa22358dc97 Mon Sep 17 00:00:00 2001 From: jamey Date: Wed, 11 Feb 2026 08:22:13 +0000 Subject: [PATCH] fix product card image swipe blocked by stretched-link overlay The stretched-link ::after pseudo-element (z-index: 0) was covering the image area, intercepting touch events. Give the image container z-index: 1 so swipe gestures reach the scroll container. Co-Authored-By: Claude Opus 4.6 --- lib/simpleshop_theme_web/components/shop_components/product.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simpleshop_theme_web/components/shop_components/product.ex b/lib/simpleshop_theme_web/components/shop_components/product.ex index 4a99d1f..83e32ac 100644 --- a/lib/simpleshop_theme_web/components/shop_components/product.ex +++ b/lib/simpleshop_theme_web/components/shop_components/product.ex @@ -97,7 +97,7 @@ defmodule SimpleshopThemeWeb.ShopComponents.Product do ) ~H""" -
+
<%= if @show_badges do %> <.product_badge product={@product} /> <% end %>