@@ -364,7 +364,7 @@ module ResultPane = {
364364 ~focusedRowCol : option <(int , int )>= ?,
365365 ~result : FinalResult .t ,
366366 ) =>
367- <div className = "pt-4 bg-0 overflow-y-auto" >
367+ <div className = "pt-4 bg-0 overflow-y-auto playground-scrollbar " >
368368 <div className = "flex items-center text-16 font-medium px-4" >
369369 <div className = "pr-4" > {renderTitle (result )} </div >
370370 </div >
@@ -765,7 +765,7 @@ module WarningFlagsWidget = {
765765 Option .map (suggestions , elements =>
766766 <div
767767 ref = {ReactDOM .Ref .domRef ((Obj .magic (listboxRef ): React .ref <Nullable .t <Dom .element >>))}
768- className = "p-2 absolute overflow-auto z-50 border-b rounded border-l border-r block w-full bg-gray-100 max-h-60"
768+ className = "p-2 absolute overflow-auto playground-scrollbar z-50 border-b rounded border-l border-r block w-full bg-gray-100 max-h-60"
769769 >
770770 elements
771771 </div >
@@ -1932,7 +1932,9 @@ let make = (~bundleBaseUrl: string, ~versions: array<string>) => {
19321932 <button key = {Int .toString (i )} onClick className disabled > {title } </button >
19331933 })
19341934
1935- <main className = {"flex flex-col bg-gray-100 text-gray-40 text-14 overflow-scroll mt-16" }>
1935+ <main className = {
1936+ "flex flex-col bg-gray-100 text-gray-40 text-14 overflow-scroll playground-scrollbar mt-16"
1937+ }>
19361938 <ControlPanel
19371939 actionIndicatorKey = {Int .toString (actionCount )}
19381940 state = compilerState
@@ -1947,7 +1949,7 @@ let make = (~bundleBaseUrl: string, ~versions: array<string>) => {
19471949 // Left Panel
19481950 <div
19491951 ref = {ReactDOM .Ref .domRef ((Obj .magic (leftPanelRef ): React .ref <Nullable .t <Dom .element >>))}
1950- className = {` overflow-scroll ${layout == Column ? "h-2/4" : "h-full!" } ${layout == Column
1952+ className = {` overflow-scroll playground-scrollbar ${layout == Column ? "h-2/4" : "h-full!" } ${layout == Column
19511953 ? "w-full"
19521954 : "w-[50%]" }` }
19531955 >
@@ -2003,7 +2005,7 @@ let make = (~bundleBaseUrl: string, ~versions: array<string>) => {
20032005 </div >
20042006 <div
20052007 ref = {ReactDOM .Ref .domRef ((Obj .magic (subPanelRef ): React .ref <Nullable .t <Dom .element >>))}
2006- className = "overflow-auto"
2008+ className = "overflow-auto playground-scrollbar "
20072009 >
20082010 <OutputPanel
20092011 currentTab compilerDispatch compilerState editorCode keyMapState = {(keyMap , setKeyMap )}
0 commit comments