From a2532c32b8256c0779cfb9aa8e738e1d1711b3b5 Mon Sep 17 00:00:00 2001 From: xiaomai Date: Thu, 11 Sep 2025 08:04:56 +0800 Subject: [PATCH] fix(ui): disable pointer events on hover overlay The shimmering hover effect on content boxes was implemented with a `::before` pseudo-element that covered the entire container. This overlay was capturing mouse events, preventing interaction with the content inside the box. This commit adds `pointer-events: none;` to the overlay, allowing clicks and other events to pass through to the underlying elements. --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index e0c7e65..37432f7 100644 --- a/index.html +++ b/index.html @@ -327,6 +327,7 @@ background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), rgba(185, 242, 255, 0.1), transparent); transform: translateX(-100%) skewX(-15deg); transition: transform 0.8s ease; + pointer-events: none; } .content-box:hover::before {