Browse Source

style: show new button

imwald
codytseng 1 year ago
parent
commit
407a6fb802
  1. 2
      src/components/NoteList/index.tsx

2
src/components/NoteList/index.tsx

@ -242,7 +242,7 @@ function ShowNewButton({ onClick }: { onClick: () => void }) {
return ( return (
<div <div
className={cn( className={cn(
'sticky top-24 flex justify-center w-full mb-2 z-30 duration-700 transition-transform', 'sticky top-[6.25rem] flex justify-center w-full my-2 z-30 duration-700 transition-transform',
deepBrowsing && lastScrollTop > 800 ? '-translate-y-10' : '' deepBrowsing && lastScrollTop > 800 ? '-translate-y-10' : ''
)} )}
> >

Loading…
Cancel
Save