Skip to content

Commit

Permalink
fix: fullscreen editor cannot visit submit button when images is too …
Browse files Browse the repository at this point in the history
…many
  • Loading branch information
whatwewant committed May 7, 2024
1 parent a33fcf9 commit 1751552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/MemoEditor/MemoEditorDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const MemoEditorDialog: React.FC<Props> = ({ memoId, cacheKey, relationList, des
style={{
// minHeight: '60vh',
flex: 1,
maxHeight: !isFullscreen ? undefined : 'calc(-200px + 100vh)',
maxHeight: !isFullscreen ? undefined : 'calc(100vh - 60px)',
}}
editorStyle={{
maxHeight: !isFullscreen ? 512 : 'calc(100vh - 200px)',
Expand Down

0 comments on commit 1751552

Please sign in to comment.