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.
This commit is contained in:
xiaomai
2025-09-11 08:04:56 +08:00
parent 10d7c1ee78
commit a2532c32b8

View File

@@ -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 {