@@ -93,12 +93,11 @@ export class DevtoolsWorkbench extends Element {
9393 const heightWorkbench = this . #toolbarCollapsed ? 'h-full flex-1' : ''
9494
9595 const styleWorkbench = this . #toolbarCollapsed ? '' : ( ( ) => {
96- const HANDLE_HEIGHT = 10
9796 const m = this . #dragVertical. getPosition ( ) . match ( / ( \d + (?: \. \d + ) ? ) p x / )
9897 const raw = m ? parseFloat ( m [ 1 ] ) : window . innerHeight * 0.7
9998 const capped = Math . min ( raw , window . innerHeight * 0.7 )
100- const paneHeight = Math . max ( MIN_WORKBENCH_HEIGHT , capped - HANDLE_HEIGHT )
101- return `flex:0 0 ${ paneHeight } px; height:${ paneHeight } px; max-height:calc( 70vh - ${ HANDLE_HEIGHT } px) ; min-height:0;`
99+ const paneHeight = Math . max ( MIN_WORKBENCH_HEIGHT , capped )
100+ return `flex:0 0 ${ paneHeight } px; height:${ paneHeight } px; max-height:70vh; min-height:0;`
102101 } ) ( )
103102
104103 const sidebarStyle = ! this . #workbenchSidebarCollapsed
@@ -111,7 +110,7 @@ export class DevtoolsWorkbench extends Element {
111110 : ''
112111
113112 return html `
114- < section data-horizontal-resizer-window class ="flex w-full ${ heightWorkbench } min-h-0 overflow-hidden " style ="${ styleWorkbench } ">
113+ < section data-horizontal-resizer-window class ="flex relative w-full ${ heightWorkbench } min-h-0 overflow-hidden " style ="${ styleWorkbench } ">
115114 < section data-sidebar class ="flex-none " style ="${ sidebarStyle } ">
116115 < wdio-devtools-tabs cacheId ="activeActionsTab " class ="h-full flex flex-col border-r-[1px] border-r-panelBorder ${ this . #workbenchSidebarCollapsed ? 'hidden' : '' } ">
117116 < wdio-devtools-tab label ="Actions ">
@@ -137,12 +136,12 @@ export class DevtoolsWorkbench extends Element {
137136 : nothing
138137 }
139138 </ section >
140- ${ ! this . #workbenchSidebarCollapsed ? this . #dragHorizontal. getSlider ( ) : nothing }
139+ ${ ! this . #workbenchSidebarCollapsed ? this . #dragHorizontal. getSlider ( 'z-30' ) : nothing }
141140 < section class ="basis-auto text-gray-500 flex items-center justify-center flex-grow ">
142141 < wdio-devtools-browser > </ wdio-devtools-browser >
143142 </ section >
144143 </ section >
145- ${ ! this . #toolbarCollapsed ? this . #dragVertical. getSlider ( ) : nothing }
144+ ${ ! this . #toolbarCollapsed ? this . #dragVertical. getSlider ( 'z-20' ) : nothing }
146145 < wdio-devtools-tabs cacheId ="activeWorkbenchTab " class ="border-t-[1px] border-t-panelBorder ${ this . #toolbarCollapsed ? 'hidden' : '' } flex-1 min-h-0 ">
147146 < wdio-devtools-tab label ="Source ">
148147 < wdio-devtools-source > </ wdio-devtools-source >
0 commit comments