@@ -86,7 +86,10 @@ function ErrorFallback({error, resetErrorBoundary}) {
8686
8787const MemoizedCodeMirror = memo ( ( props ) => (
8888 < ErrorBoundary FallbackComponent = { ErrorFallback } >
89- < CodeMirror { ...props } />
89+ < CodeMirror
90+ { ...props }
91+ elementProps = { { className : 'playground-editor-code-mirror' } }
92+ />
9093 </ ErrorBoundary >
9194) )
9295
@@ -130,7 +133,7 @@ export function Editor({children}) {
130133
131134 return (
132135 < div >
133- < Tabs className = "frame" >
136+ < Tabs className = "frame frame-resizeable " >
134137 < TabList className = "frame-tab-bar frame-tab-bar-scroll" >
135138 < Tab
136139 className = "frame-tab-item frame-tab-item-dark"
@@ -146,7 +149,7 @@ export function Editor({children}) {
146149 </ Tab >
147150 </ TabList >
148151 < TabPanel >
149- < div className = "frame-body frame-body-box-fixed-height " >
152+ < div className = "frame-body" >
150153 < noscript >
151154 < pre >
152155 < code className = "hljs language-md" >
@@ -161,8 +164,8 @@ export function Editor({children}) {
161164 />
162165 </ div >
163166 </ TabPanel >
164- < TabPanel >
165- < form className = "frame-body frame-body-box frame-body-box-fixed-height " >
167+ < TabPanel className = "tab-panel-scrollable playground-editor-options-tab-panel" >
168+ < form className = "frame-body frame-body-box" >
166169 < label >
167170 < input
168171 checked = { state . gfm }
@@ -202,7 +205,7 @@ export function Editor({children}) {
202205 </ TabPanel >
203206 </ Tabs >
204207
205- < Tabs className = "frame" >
208+ < Tabs className = "frame frame-resizeable " >
206209 < TabList className = "frame-tab-bar frame-tab-bar-scroll" >
207210 { [
208211 'Run' ,
@@ -238,16 +241,16 @@ export function Editor({children}) {
238241 } ) }
239242 </ TabList >
240243
241- < TabPanel >
244+ < TabPanel className = "tab-panel-scrollable" >
242245 < noscript > Enable JavaScript for the rendered result.</ noscript >
243- < div className = "frame-body frame-body-box-fixed-height frame-body-box " >
246+ < div className = "frame-body frame-body-box" >
244247 < ErrorBoundary FallbackComponent = { ErrorFallback } >
245248 { state . file && state . file . result ? < Preview /> : null }
246249 </ ErrorBoundary >
247250 </ div >
248251 </ TabPanel >
249252 < TabPanel >
250- < div className = "frame-body frame-body-box-fixed-height " >
253+ < div className = "frame-body" >
251254 { state . file ? (
252255 stats . fatal ? (
253256 < pre >
@@ -267,7 +270,7 @@ export function Editor({children}) {
267270 </ div >
268271 </ TabPanel >
269272 < TabPanel >
270- < div className = "frame-body frame-body-box-fixed-height " >
273+ < div className = "frame-body" >
271274 { state . file && state . file . data . mdast ? (
272275 < pre >
273276 < code className = "hljs language-js" >
@@ -284,7 +287,7 @@ export function Editor({children}) {
284287 </ div >
285288 </ TabPanel >
286289 < TabPanel >
287- < div className = "frame-body frame-body-box-fixed-height " >
290+ < div className = "frame-body" >
288291 { state . file && state . file . data . hast ? (
289292 < pre >
290293 < code className = "hljs language-js" >
@@ -301,7 +304,7 @@ export function Editor({children}) {
301304 </ div >
302305 </ TabPanel >
303306 < TabPanel >
304- < div className = "frame-body frame-body-box-fixed-height " >
307+ < div className = "frame-body" >
305308 { state . file && state . file . data . esast ? (
306309 < pre >
307310 < code className = "hljs language-js" >
0 commit comments