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 e30f124 commit a33fcf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/components/MemoEditor/MemoEditorDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const MemoEditorDialog: React.FC<Props> = ({ memoId, cacheKey, relationList, des
style={{
// minHeight: '60vh',
flex: 1,
maxHeight: !isFullscreen ? undefined : 'calc(-200px + 100vh)',
}}
editorStyle={{
maxHeight: !isFullscreen ? 512 : 'calc(100vh - 200px)',
Expand Down

0 comments on commit a33fcf9

Please sign in to comment.