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

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

View File

@ -73,6 +73,8 @@ export default class QueryHistory {
cursor: 'ew-resize',
});
$histDetails.css('overflow', 'auto');
this.queryHistDetails = new QueryHistoryDetails($histDetails);
this.queryHistDetails.setEditorPref(this.editorPref);
this.queryHistDetails.onCopyToEditorClick(this.onCopyToEditorHandler);

View File

@ -88,7 +88,7 @@
.sql-editor-history-container {
height: 100%;
overflow: auto;
overflow: hidden;
background-color: $negative-bg;
}
@ -97,6 +97,7 @@
height: 100%;
width: 100%;
min-height: 19em;
overflow: auto;
display: flex;
flex-direction: column;
background-color: $color-bg;
@ -157,7 +158,7 @@
flex: 5;
margin-left: 10px;
margin-right: 10px;
min-height: 1em;
min-height: 4em;
position: relative;
.copy-all, .was-copied, .copy-to-editor {