mirror of
https://github.com/ClipFusion-org/clipfusion.git
synced 2025-08-03 16:55:08 +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={{
|
||||
position: 'relative',
|
||||
inset: 0,
|
||||
transform: `translateX(calc(${dragX}px - 0.5px))`,
|
||||
transform: `translateX(${Math.floor(dragX)}px)`,
|
||||
transition: dragging
|
||||
? ''
|
||||
: 'transform 300ms cubic-bezier(0.24, 1.04, 0.56, 1)',
|
||||
willChange: 'transform',
|
||||
backfaceVisibility: 'hidden',
|
||||
transformStyle: 'preserve-3d'
|
||||
: 'transform 300ms cubic-bezier(0.24, 1.04, 0.56, 1)'
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
|
Loading…
Reference in New Issue
Block a user