fix: some 🐛

This commit is contained in:
codytseng
2025-01-03 13:04:57 +08:00
parent 3429c83085
commit 14fbf7a7be
4 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ export default function ScrollToTopButton({
return (
<div
className={cn(
`sticky z-20 flex justify-end pr-3 transition-opacity duration-700 ${visible ? '' : 'opacity-0'}`,
`fixed sm:sticky z-20 flex justify-end w-full pr-3 transition-opacity duration-700 ${visible ? '' : 'opacity-0'}`,
className
)}
style={{