File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -132,12 +132,12 @@ export default function Home() {
132132 < div className = "w-full" >
133133 < CodeMirror
134134 autoFocus
135- height = "660px "
135+ height = "90vh "
136136 theme = { createTheme ( CODE_EDITOR_THEME ) }
137137 value = { inputString }
138138 extensions = { editorExtensions }
139139 onChange = { ( e ) => setInputString ( e ) }
140- className = "h-full mt-1"
140+ className = "h-full mt-1 overflow-y-scroll "
141141 />
142142 </ div >
143143 < div className = "w-full relative" >
@@ -151,12 +151,12 @@ export default function Home() {
151151 disabled = { outputString === "" }
152152 />
153153 < CodeMirror
154- height = "660px "
154+ height = "90vh "
155155 theme = { createTheme ( CODE_EDITOR_THEME ) }
156156 value = { outputString }
157157 onChange = { ( e ) => setOutputString ( e ) }
158158 extensions = { editorExtensions }
159- className = "overflow-auto absolute h-full mt-1 w-full"
159+ className = "overflow-y-scroll absolute h-full mt-1 w-full"
160160 />
161161 </ div >
162162 { diffOrMergeString && (
You can’t perform that action at this time.
0 commit comments