From 59e01a82c84c2e68898282fc443a76c6320efece Mon Sep 17 00:00:00 2001 From: vardhan0604 Date: Mon, 29 Jul 2024 11:22:01 +0530 Subject: [PATCH] fixed resize handler --- src/dashboard/Data/Browser/BrowserTable.react.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/dashboard/Data/Browser/BrowserTable.react.js b/src/dashboard/Data/Browser/BrowserTable.react.js index f3d8999f3d..f99fceed70 100644 --- a/src/dashboard/Data/Browser/BrowserTable.react.js +++ b/src/dashboard/Data/Browser/BrowserTable.react.js @@ -130,10 +130,10 @@ export default class BrowserTable extends React.Component { } updateMaxWidth = () => { this.setState({ maxWidth: window.innerWidth - 300 }); - if(this.state.panelWidth > window.innerWidth - 300){ + if (this.state.panelWidth > window.innerWidth - 300) { this.setState({ panelWidth: window.innerWidth - 300 }); } - } + }; render() { let ordering = {}; @@ -599,12 +599,15 @@ export default class BrowserTable extends React.Component { top: '96px', right: '0', bottom: '19px', + 'box-shadow': '0 2px 5px rgba(0, 0, 0, 0.1)', overflow: 'auto', backgroundColor: 'rgb(244, 244, 244)', zIndex: 100, }} > - +
+ +
)}