fix: content height

This commit is contained in:
Stephen Zhou 2024-05-19 23:31:14 +08:00
parent ad8bac4325
commit 74af9cbef4
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export function EntryContent({ entry }: { entry: ActivedEntry }) {
<>
<EntryShare entry={entry} view={0} />
<m.div
className="px-5 py-5 overflow-y-auto h-full"
className="px-5 py-5 overflow-y-auto h-[calc(100%-56px)]"
initial={{ opacity: 0.01, y: 100 }}
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0.01, y: -100 }}