Merge pull request #4 from hyoban/fix/content-overflow

fix: content height
This commit is contained in:
DIYgod 2024-05-23 16:20:17 +01:00 committed by GitHub
commit bbe236da7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ export function EntryContent({ entryId }: { entryId: ActivedEntry }) {
<>
<EntryShare entry={entry.data} 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%-3.5rem)]"
initial={{ opacity: 0.01, y: 100 }}
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0.01, y: -100 }}