fix: replace translateY lift with scale zoom to avoid scroll container clipping
This commit is contained in:
parent
cacd196188
commit
84607c2866
1 changed files with 3 additions and 3 deletions
|
|
@ -252,9 +252,9 @@ body:has(#itemDetailPage) html::after,
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hover: lift off surface + arcane glow */
|
/* Hover: zoom toward viewer + arcane glow */
|
||||||
.card-hoverable:hover .cardScalable {
|
.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;
|
border-color: rgba(56, 189, 248, 0.5) !important;
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0 0 0 1px rgba(255, 255, 255, 0.09) inset,
|
0 0 0 1px rgba(255, 255, 255, 0.09) inset,
|
||||||
|
|
@ -282,7 +282,7 @@ body:has(#itemDetailPage) html::after,
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-hoverable:hover .visualCardBox {
|
.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;
|
border-color: rgba(56, 189, 248, 0.5) !important;
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0 0 0 1px rgba(255, 255, 255, 0.09) inset,
|
0 0 0 1px rgba(255, 255, 255, 0.09) inset,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue