Skip to content

Commit

Permalink
style: fix scroller height style. (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jun 12, 2023
1 parent 043a23c commit fa8b6f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/useCodeMirror.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ export function useCodeMirror(props: UseCodeMirror) {
minWidth,
maxWidth,
},
'& .cm-scroller': {
height: '100% !important',
},
});
const updateListener = EditorView.updateListener.of((vu: ViewUpdate) => {
if (
Expand Down

0 comments on commit fa8b6f9

Please sign in to comment.