mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
fix: resolve clipping issue on hover effect
This commit is contained in:
@@ -66,7 +66,7 @@ function toggleWatchLater() {
|
||||
}
|
||||
}
|
||||
|
||||
function handleMouseMove() {
|
||||
function handleMouseEnter() {
|
||||
contentVisibility.value = 'visible'
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@ function handelMouseLeave() {
|
||||
w="full" pos="absolute top-0 left-0"
|
||||
rounded="$bew-radius"
|
||||
:style="{ contentVisibility }"
|
||||
@mousemove="handleMouseMove"
|
||||
@mouseenter="handleMouseEnter"
|
||||
@mouseleave="handelMouseLeave"
|
||||
>
|
||||
<div :style="{ display: horizontal ? 'flex' : 'block', gap: horizontal ? '1.5rem' : '0' }">
|
||||
|
||||
Reference in New Issue
Block a user