@@ -154,12 +154,10 @@ $('[data-bs-toggle="tooltip"]').tooltip({animation:true, html: true});// Loads o
154154 v_connTabControl . selectTab ( v_tab ) ;
155155
156156 var v_width = Math . ceil ( ( 300 / window . innerWidth ) * 100 ) ;
157- var v_complement_width = 100 - v_width ;
158-
159- var v_html =
160- '<div style="position: relative;">' +
161- '<div style="display: grid; grid-template-areas: \'left right\'; grid-template-columns: auto minmax(0, 1fr); height: 100%;">' +
162- '<div id="' + v_tab . id + '_div_left" class="omnidb__workspace__div-left col" style="max-width: 300px; width: 300px;">' +
157+ var v_complement_width = 100 - v_width ; var v_html =
158+ '<div style="position: relative; height: 100%;">' +
159+ '<div style="display: grid; grid-template-areas: \'left splitter right\'; grid-template-columns: auto 12px minmax(0, 1fr); height: 100%;">' +
160+ '<div id="' + v_tab . id + '_div_left" class="omnidb__workspace__div-left col" style="grid-area: left; max-width: 300px; width: 300px;">' +
163161 '<div class="omnidb__workspace__content-left">' +
164162 '<div id="' + v_tab . id + '_details" class="omnidb__workspace__connection-details"></div>' +
165163 '<div id="' + v_tab . id + '_tree" style="overflow-y: auto; flex-grow: 1; min-height: 0; transition: scroll 0.3s;"></div>' +
@@ -177,14 +175,13 @@ $('[data-bs-toggle="tooltip"]').tooltip({animation:true, html: true});// Loads o
177175 '<div id="tree_tabs_' + v_tab . id + '" class="omnidb__tree-tabs__container" style="position: relative;"></div>' +
178176 '</div>' +
179177 '</div>' +
180- '<div class="resize_line_vertical omnidb__resize-line__container" onmousedown="resizeConnectionHorizontal(event)" style="position:absolute;height: 100%;width: 10px;cursor: ew-resize;border-right: 1px dashed #acc4e8;top: 0px;right: 0px;opacity: 0.4;z-index: 10;"></div>' +
181178 '</div>' + //.div_left
182- '<div id="' + v_tab . id + '_div_right" class="omnidb__workspace__div-right col" style="position: relative;">' +
179+ '<div class="resize_line_vertical omnidb__resize-line__container" onmousedown="resizeConnectionHorizontal(event)" style="grid-area: splitter; height: 100%; width: 12px; cursor: ew-resize; border-right: 1px dashed #acc4e8; opacity: 0.6; z-index: 10;"></div>' +
180+ '<div id="' + v_tab . id + '_div_right" class="omnidb__workspace__div-right col" style="grid-area: right; position: relative;">' +
183181 '<button type="button" class="py-4 px-0 btn omnidb__theme__btn--secondary omnidb__tree__toggler" onclick="toggleTreeContainer()"><i class="fas fa-arrows-alt-h"></i></button>' +
184182 '<div id="' + v_tab . id + '_tabs" class="w-100"></div>' +
185183 '</div>' + //.div_right
186184 '</div>' + //.row
187-
188185 '</div>' ;
189186
190187 // var v_tab_title_span = document.getElementById('tab_title');
@@ -404,7 +401,7 @@ function refreshOuterConnectionHeights() {
404401 // if (!v_is_shrunk) {
405402 var v_totalWidth = v_connTabControl . selectedDiv . getBoundingClientRect ( ) . width ;
406403 var v_div_left_width_value = v_div_left . getBoundingClientRect ( ) . width ;
407- var v_right_width_value = v_totalWidth - v_div_left_width_value ;
404+ var v_right_width_value = v_totalWidth - v_div_left_width_value - 12 ;
408405 // v_div_left.style['max-width'] = v_div_left_width_value + 'px';
409406 // v_div_left.style['width'] = v_div_left_width_value + 'px';
410407 v_div_right . style [ 'max-width' ] = v_right_width_value + 'px' ;
0 commit comments