feat: improve single-column layout
This commit is contained in:
parent
1674671d7f
commit
936b15e5c2
13 changed files with 316 additions and 231 deletions
|
|
@ -327,9 +327,6 @@ const NoteList = forwardRef(
|
|||
|
||||
return (
|
||||
<div>
|
||||
{filteredNewEvents.length > 0 && (
|
||||
<NewNotesButton newEvents={filteredNewEvents} onClick={showNewEvents} />
|
||||
)}
|
||||
<div ref={topRef} className="scroll-mt-[calc(6rem+1px)]" />
|
||||
{supportTouch ? (
|
||||
<PullToRefresh
|
||||
|
|
@ -345,6 +342,9 @@ const NoteList = forwardRef(
|
|||
list
|
||||
)}
|
||||
<div className="h-40" />
|
||||
{filteredNewEvents.length > 0 && (
|
||||
<NewNotesButton newEvents={filteredNewEvents} onClick={showNewEvents} />
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue