fix(models): stop the hidden preview renderer from blocking description clicks (#13)

The automatic preview renderer on the model page sits in an invisible box whose
sx width/height of 1 resolve to 100%, so it covers the Description and Tags and
swallows clicks on their links. Let pointer events pass through it.

Fixes #12


Claude-Session: https://claude.ai/code/session_01KGCb65Zhzwd3daF862ZE6R

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Paul TrainaandClaude Opus 5.5 authored and GitHub committed 2026-10-13 06:42:23 +02:00
1 parent 6993a4c423
commit 76907212d4
1 file changed
+4 -1
+4 -1
View File
@@ -301,7 +301,10 @@ export default function ModelDetailPage({ theme, onSelectCategory, onUnauthorize
)}
{needsGeneratedPreview && firstPlate && (
<Box sx={{ position: "absolute", width: 1, height: 1, overflow: "hidden", opacity: 0 }} aria-hidden="true">
<Box
sx={{ position: "absolute", width: 1, height: 1, overflow: "hidden", opacity: 0, pointerEvents: "none" }}
aria-hidden="true"
>
<ModelSnapshot
url={printsApi.fileUrl(firstPlate.url)}
ext={extOf(firstPlate.filename)}