@@ -108,10 +108,9 @@ class InfoPanel extends UNISYS.Component {
108
108
e . stopPropagation ( ) ;
109
109
let top = e . clientY + this . state . draggerMouseOffsetY ;
110
110
this . setState ( {
111
- tabpanelHeight : ( top - this . state . tabpanelTop ) + 'px' ,
112
- tableHeight : ( top - this . state . tabpanelTop - 55 ) + 'px' , // Hacked tab button + thead offset
113
- draggerTop : top + 'px' ,
114
- savedTabpanelHeight : ( top - this . state . tabpanelTop ) + 'px' , // remember height when switching tabs
111
+ tabpanelHeight : ( top - this . state . tabpanelTop - 40 ) + 'px' ,
112
+ tableHeight : ( top - this . state . tabpanelTop ) + 'px' ,
113
+ savedTabpanelHeight : ( top - this . state . tabpanelTop - 40 ) + 'px' , // remember height when switching tabs
115
114
bIgnoreTableUpdates : true // ignore this update at the table level if it is a large data set
116
115
} ) ;
117
116
}
@@ -150,7 +149,7 @@ class InfoPanel extends UNISYS.Component {
150
149
return (
151
150
< div >
152
151
< div id = 'tabpanel'
153
- style = { { height : tabpanelHeight , overflow : 'hidden' , backgroundColor : '#eee' , padding : '5px' } } >
152
+ style = { { height : tabpanelHeight , overflow : 'hidden' , backgroundColor : '#eee' } } >
154
153
< Nav tabs >
155
154
< NavItem >
156
155
< NavLink
@@ -201,15 +200,11 @@ class InfoPanel extends UNISYS.Component {
201
200
</ NavLink >
202
201
</ NavItem >
203
202
</ Nav >
204
- < TabContent activeTab = { this . state . activeTab } >
203
+ < TabContent activeTab = { this . state . activeTab } style = { { overflow : 'hidden auto' } } >
205
204
< TabPane tabId = "1" >
206
205
</ TabPane >
207
206
< TabPane tabId = "2" >
208
- < Row >
209
- < Col sm = "12" >
210
- < FiltersPanel tableHeight = { tableHeight } />
211
- </ Col >
212
- </ Row >
207
+ < FiltersPanel tableHeight = { tableHeight } />
213
208
</ TabPane >
214
209
< TabPane tabId = "3" >
215
210
< Row >
@@ -244,8 +239,7 @@ class InfoPanel extends UNISYS.Component {
244
239
245
240
< div id = 'dragger' hidden = { hideDragger }
246
241
style = { {
247
- top : draggerTop ,
248
- position : 'absolute' , width : '100%' , height : '10px' , backgroundColor : 'gray' ,
242
+ position : 'relative' , top : '0px' , left : '0px' , right : '0px' , height : '10px' , backgroundColor : 'gray' ,
249
243
cursor : 'ns-resize'
250
244
} }
251
245
onMouseDown = { this . handleMouseDown }
0 commit comments