Skip to content

Commit

Permalink
fix: content height
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed May 19, 2024
1 parent ad8bac4 commit 74af9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/components/entry-content/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 74af9cb

Please sign in to comment.