style: show new button

This commit is contained in:
codytseng
2025-02-28 11:37:12 +08:00
parent f823ef4db0
commit 407a6fb802

View File

@@ -242,7 +242,7 @@ function ShowNewButton({ onClick }: { onClick: () => void }) {
return (
<div
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' : ''
)}
>