feat: zap (#107)

This commit is contained in:
Cody Tseng 2025-03-01 23:52:05 +08:00 committed by GitHub
parent 407a6fb802
commit 249593d547
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
72 changed files with 2582 additions and 818 deletions

View file

@ -22,7 +22,7 @@ import PictureNoteCard from '../PictureNoteCard'
const LIMIT = 100
const ALGO_LIMIT = 500
const SHOW_COUNT = 20
const SHOW_COUNT = 10
export default function NoteList({
relayUrls,
@ -266,7 +266,7 @@ function ListModeSwitch({
return (
<div
className={cn(
'sticky top-12 bg-background z-30 duration-700 transition-transform',
'sticky top-12 bg-background z-30 duration-700 transition-transform select-none',
deepBrowsing && lastScrollTop > 800 ? '-translate-y-[calc(100%+12rem)]' : ''
)}
>