Fix following scroll bar issues:

1) Stop overwriting the text in the scroll bar area.
2) Make scroll bars functional.
pull/41/head REL-5_1
Nikhil Mohite 2021-03-23 19:17:01 +05:30 committed by Akshay Joshi
parent 1321a623bd
commit be31fb08f1
2 changed files with 2 additions and 7 deletions

View File

@ -1932,6 +1932,7 @@ define([
'cssText',
'height: ' + ($tabContent.height()) + 'px !important;'
);
$sqlPane.find('.CodeMirror').css('z-index', 99);
}
}

View File

@ -179,16 +179,14 @@
.CodeMirror-simplescroll-horizontal {
height: $scrollbar-width;
z-index: 1;
}
.CodeMirror-simplescroll-vertical {
width: $scrollbar-width;
z-index: 1;
}
.CodeMirror-scrollbar-filler, .CodeMirror-simplescroll-horizontal, .CodeMirror-simplescroll-vertical {
background: rgba($scrollbar-base-color, 0.2);
background-color: lighten($scrollbar-base-color, 15%);
}
.CodeMirror-simplescroll-horizontal, .CodeMirror-simplescroll-vertical {
@ -209,7 +207,3 @@
background-color: $sql-editor-disable-bg !important;
}
// Set z-index of scroll less than CodeMirror editor
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
z-index:1;
}