From 473c453abf2fb77b2e17ed8a1ce7f9939d620710 Mon Sep 17 00:00:00 2001 From: KoalaTrapLord <265133236+KoalaTrapLord@users.noreply.github.com> Date: Sun, 22 Mar 2026 00:34:54 -0400 Subject: [PATCH] fix(ui): add #coll-card-preview CSS for hover image preview --- ui/collection.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ui/collection.css b/ui/collection.css index da4121a..0341e50 100644 --- a/ui/collection.css +++ b/ui/collection.css @@ -2823,3 +2823,21 @@ @keyframes coll-spin { to { transform: rotate(360deg); } } + +/* -- 16. Card Image Hover Preview -------------------------------- */ +#coll-card-preview { + position: fixed; + pointer-events: none; + z-index: 1100; + display: none; + border-radius: 12px; + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7); + overflow: hidden; +} + +#coll-card-preview-img { + display: block; + width: 220px; + height: auto; + border-radius: 12px; +}