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 @@ -96,12 +96,12 @@ export default function Home() {
9696 < div className = "w-full" >
9797 < CodeMirror
9898 autoFocus
99- height = "660px "
99+ height = "90vh "
100100 theme = { createTheme ( CODE_EDITOR_THEME ) }
101101 value = { inputString }
102102 extensions = { editorExtensions }
103103 onChange = { ( e ) => setInputString ( e ) }
104- className = "h-full mt-1"
104+ className = "h-full mt-1 overflow-y-scroll "
105105 />
106106 </ div >
107107 < div className = "w-full relative" >
@@ -115,12 +115,12 @@ export default function Home() {
115115 disabled = { outputString === "" }
116116 />
117117 < CodeMirror
118- height = "660px "
118+ height = "90vh "
119119 theme = { createTheme ( CODE_EDITOR_THEME ) }
120120 editable = { false }
121121 value = { outputString }
122122 extensions = { editorExtensions }
123- className = "overflow-auto absolute h-full mt-1 w-full"
123+ className = "overflow-y-scroll absolute h-full mt-1 w-full"
124124 />
125125 </ div >
126126 < div className = "flex flex-col min-w-80 w-80 justify-start space-y-2 px-1 rounded" >
You can’t perform that action at this time.
0 commit comments