fix: Large empty space at the bottom of the screen #98

This commit is contained in:
rustmailer
2026-01-06 14:36:01 +08:00
parent 147f5b4f55
commit 1768c1a590
12 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ export default function Search() {
</p>
</div>
</div>}
{total > 0 && <ScrollArea className='h-[40rem] w-full pr-4 -mr-4 py-1'>
{total > 0 && <ScrollArea className='h-[calc(100vh-14rem)] w-full pr-4 -mr-4 py-1'>
<MailList
isLoading={isLoading}
items={emails}