fix: replace translateY lift with scale zoom to avoid scroll container clipping

This commit is contained in:
MiTHRAL 2026-05-01 03:18:02 -04:00
parent cacd196188
commit 84607c2866

View file

@ -252,9 +252,9 @@ body:has(#itemDetailPage) html::after,
z-index: 1;
}
/* Hover: lift off surface + arcane glow */
/* Hover: zoom toward viewer + arcane glow */
.card-hoverable:hover .cardScalable {
transform: translateY(-6px) scale(1.02) !important;
transform: scale(1.05) !important;
border-color: rgba(56, 189, 248, 0.5) !important;
box-shadow:
0 0 0 1px rgba(255, 255, 255, 0.09) inset,
@ -282,7 +282,7 @@ body:has(#itemDetailPage) html::after,
}
.card-hoverable:hover .visualCardBox {
transform: translateY(-6px) scale(1.02) !important;
transform: scale(1.05) !important;
border-color: rgba(56, 189, 248, 0.5) !important;
box-shadow:
0 0 0 1px rgba(255, 255, 255, 0.09) inset,