mirror of
https://github.com/ClipFusion-org/clipfusion.git
synced 2025-08-03 15:55:07 +00:00
fixed red border in safari and bluriness in chrome
This commit is contained in:
parent
e2f4c023c1
commit
6964b16633
@ -245,13 +245,10 @@ const SwipeToDelete: FC<SwipeToDeleteProps> = ({
|
|||||||
style={{
|
style={{
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
inset: 0,
|
inset: 0,
|
||||||
transform: `translateX(calc(${dragX}px - 0.5px))`,
|
transform: `translateX(${Math.floor(dragX)}px)`,
|
||||||
transition: dragging
|
transition: dragging
|
||||||
? ''
|
? ''
|
||||||
: 'transform 300ms cubic-bezier(0.24, 1.04, 0.56, 1)',
|
: 'transform 300ms cubic-bezier(0.24, 1.04, 0.56, 1)'
|
||||||
willChange: 'transform',
|
|
||||||
backfaceVisibility: 'hidden',
|
|
||||||
transformStyle: 'preserve-3d'
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
Loading…
Reference in New Issue
Block a user