Skip to content

Commit fa8b6f9

Browse files
committed
style: fix scroller height style. (#519)
1 parent 043a23c commit fa8b6f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/useCodeMirror.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ export function useCodeMirror(props: UseCodeMirror) {
4848
minWidth,
4949
maxWidth,
5050
},
51+
'& .cm-scroller': {
52+
height: '100% !important',
53+
},
5154
});
5255
const updateListener = EditorView.updateListener.of((vu: ViewUpdate) => {
5356
if (

0 commit comments

Comments
 (0)