feat: small screen (#8)

This commit is contained in:
Cody Tseng 2024-12-02 23:43:08 +08:00 committed by GitHub
parent 11d035f719
commit 8e0b91888f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 372 additions and 127 deletions

View file

@ -127,7 +127,7 @@ export default function NoteList({
</Button>
</div>
)}
<div className={cn('flex flex-col gap-4', className)}>
<div className={cn('flex flex-col sm:gap-4', className)}>
{events.map((event, i) => (
<NoteCard key={`${i}-${event.id}`} className="w-full" event={event} />
))}