@@ -660,7 +660,7 @@ class TabsDisplay extends MDIDisplay {
660660
661661 if ( top . empty ( ) ) {
662662 top = dom . append ( 'div' ) . attr ( 'class' , 'jsroot_tabs' )
663- . attr ( 'style' , 'display: flex; flex-direction: column; position: absolute; overflow: hidden; inset : 0px 0px 0px 0px' ) ;
663+ . attr ( 'style' , 'display: flex; flex-direction: column; position: absolute; overflow: hidden; left : 0px; top: 0px; bottom: 0px; right: 0px; ' ) ;
664664 labels = top . append ( 'div' ) . attr ( 'class' , 'jsroot_tabs_labels' )
665665 . attr ( 'style' , 'white-space: nowrap; position: relative; overflow-x: auto' ) ;
666666 main = top . append ( 'div' ) . attr ( 'class' , 'jsroot_tabs_main' )
@@ -707,7 +707,7 @@ class TabsDisplay extends MDIDisplay {
707707 const draw_frame = main . append ( 'div' )
708708 . attr ( 'frame_title' , title )
709709 . attr ( 'class' , 'jsroot_tabs_draw' )
710- . attr ( 'style' , 'overflow: hidden; position: absolute; inset : 0px' )
710+ . attr ( 'style' , 'overflow: hidden; position: absolute; left : 0px; top: 0px; bottom: 0px; right: 0px; ' )
711711 . property ( 'frame_id' , frame_id ) ;
712712
713713 this . modifyTabsFrame ( frame_id , 'activate' ) ;
@@ -1274,7 +1274,7 @@ class BrowserLayout {
12741274 input_style = settings . DarkMode ? `background-color: #222; color: ${ text_color } ` : '' ;
12751275
12761276 injectStyle (
1277- '.jsroot_browser { pointer-events: none; position: absolute; inset : 0px; margin: 0px; border: 0px; overflow: hidden; }' +
1277+ '.jsroot_browser { pointer-events: none; position: absolute; left: 0px; top: 0px; bottom: 0px; right : 0px; margin: 0px; border: 0px; overflow: hidden; }' +
12781278 `.jsroot_draw_area { background-color: ${ bkgr_color } ; overflow: hidden; margin: 0px; border: 0px; }` +
12791279 `.jsroot_browser_area { color: ${ text_color } ; background-color: ${ bkgr_color } ; font-size: 12px; font-family: Verdana; pointer-events: all; box-sizing: initial; }` +
12801280 `.jsroot_browser_area input { ${ input_style } }` +
@@ -1296,7 +1296,7 @@ class BrowserLayout {
12961296 main . append ( 'div' ) . attr ( 'id' , this . drawing_divid ( ) )
12971297 . classed ( 'jsroot_draw_area' , true )
12981298 . style ( 'position' , 'absolute' )
1299- . style ( 'inset ' , '0px' ) ;
1299+ . style ( 'left ' , 0 ) . style ( 'top' , 0 ) . style ( 'bottom' , 0 ) . style ( 'right' , 0 ) ;
13001300
13011301 if ( with_browser )
13021302 main . append ( 'div' ) . classed ( 'jsroot_browser' , true ) ;
0 commit comments