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
parent
1321a623bd
commit
be31fb08f1
|
@ -1932,6 +1932,7 @@ define([
|
|||
'cssText',
|
||||
'height: ' + ($tabContent.height()) + 'px !important;'
|
||||
);
|
||||
$sqlPane.find('.CodeMirror').css('z-index', 99);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue