diff --git a/src/web/viewlets/canvas/graph-canvas.js b/src/web/viewlets/canvas/graph-canvas.js index 7d6ba4d..4bc5a7b 100644 --- a/src/web/viewlets/canvas/graph-canvas.js +++ b/src/web/viewlets/canvas/graph-canvas.js @@ -661,7 +661,8 @@ export default class GraphCanvas extends DefaultRemoteComponent {
@@ -673,6 +674,10 @@ export default class GraphCanvas extends DefaultRemoteComponent { }} makeQuery={this.makeQuery.bind(this)} startNewQueryInConsole={this.startNewQueryInConsole.bind(this)} + cardBodyStyle={{ + "overflow": "scroll", + "maxHeight": "calc(100vh - 215px)" + }} />
diff --git a/src/web/viewlets/canvas/query-history.js b/src/web/viewlets/canvas/query-history.js index 58a6228..4151769 100644 --- a/src/web/viewlets/canvas/query-history.js +++ b/src/web/viewlets/canvas/query-history.js @@ -26,7 +26,8 @@ export default class RequestHistoryView extends React.Component { // connector: PropTypes.func, startNewQueryInConsole: PropTypes.func, query: PropTypes.string, - onClose: PropTypes.func + onClose: PropTypes.func, + cardBodyStyle: PropTypes.object }; constructor(props) { @@ -77,7 +78,33 @@ export default class RequestHistoryView extends React.Component { Query History -
+
+ + + + + + + + + + showing {this.state.showStartCount} to {this.state.showEndCount} of {existingHistory.length} + + + +
+
{historyToShow.length > 0 ?
    @@ -126,34 +153,6 @@ export default class RequestHistoryView extends React.Component { :

    Hm! No query history found!.

    }
-
- - - - - - - - - - showing {this.state.showStartCount} to {this.state.showEndCount} of {existingHistory.length} - - - -
- - diff --git a/src/web/views/console.js b/src/web/views/console.js index 8ba30c9..51d53b0 100644 --- a/src/web/views/console.js +++ b/src/web/views/console.js @@ -150,6 +150,10 @@ export default class ConsoleView extends DefaultRemoteRoutableComponent { _this.setShowHistory(false)} makeQuery={this.makeQuery.bind(this)} + cardBodyStyle={{ + "overflow": "scroll", + "maxHeight": "calc(100vh - 170px)" + }} startNewQueryInConsole={this.startNewQueryInConsole.bind(this)} />