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
@@ -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 }}