Correct the implementation of query details should be scrollable as per design.

Fixes #3827
This commit is contained in:
Nikhil Mohite authored and Akshay Joshi committed 2021-10-01 13:01:24 +05:30
1 parent 357a020828
commit 5f9bb1c160
2 files changed
+5 -2

No files matched your search

@@ -73,6 +73,8 @@ export default class QueryHistory {
cursor: 'ew-resize', cursor: 'ew-resize',
}); });
$histDetails.css('overflow', 'auto');
this.queryHistDetails = new QueryHistoryDetails($histDetails); this.queryHistDetails = new QueryHistoryDetails($histDetails);
this.queryHistDetails.setEditorPref(this.editorPref); this.queryHistDetails.setEditorPref(this.editorPref);
this.queryHistDetails.onCopyToEditorClick(this.onCopyToEditorHandler); this.queryHistDetails.onCopyToEditorClick(this.onCopyToEditorHandler);
@@ -88,7 +88,7 @@
.sql-editor-history-container { .sql-editor-history-container {
height: 100%; height: 100%;
overflow: auto; overflow: hidden;
background-color: $negative-bg; background-color: $negative-bg;
} }
@@ -97,6 +97,7 @@
height: 100%; height: 100%;
width: 100%; width: 100%;
min-height: 19em; min-height: 19em;
overflow: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: $color-bg; background-color: $color-bg;
@@ -157,7 +158,7 @@
flex: 5; flex: 5;
margin-left: 10px; margin-left: 10px;
margin-right: 10px; margin-right: 10px;
min-height: 1em; min-height: 4em;
position: relative; position: relative;
.copy-all, .was-copied, .copy-to-editor { .copy-all, .was-copied, .copy-to-editor {