mirror of
https://github.com/ourongxing/newsnow.git
synced 2025-01-19 03:09:14 +08:00
fix: reduce stuttering when scroll, maybe
This commit is contained in:
parent
729b6febbf
commit
f98d78b4c2
@ -34,7 +34,8 @@ export const CardWrapper = forwardRef<HTMLElement, ItemsProps>(({ id, isDragging
|
||||
ref={ref}
|
||||
className={$(
|
||||
"flex flex-col h-500px rounded-2xl p-4 cursor-default",
|
||||
"backdrop-blur-5 transition-opacity-300",
|
||||
// "backdrop-blur-5",
|
||||
"transition-opacity-300",
|
||||
isDragging && "op-50",
|
||||
`bg-${sources[id].color}-500 dark:bg-${sources[id].color} bg-op-40!`,
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user