Ensure line numbers form CodeMirror don't appear on top of menus. Fixes #2738
parent
cd7d80b650
commit
56e1fd85f4
|
@ -148,7 +148,7 @@ define(
|
||||||
width: 500,
|
width: 500,
|
||||||
isCloseable: false,
|
isCloseable: false,
|
||||||
isPrivate: true,
|
isPrivate: true,
|
||||||
content: '<textarea id="sql-textarea" name="sql-textarea"></textarea>'
|
content: '<div class="sql_textarea"><textarea id="sql-textarea" name="sql-textarea"></textarea></div>'
|
||||||
}),
|
}),
|
||||||
// Dependencies of the object
|
// Dependencies of the object
|
||||||
'dependencies': new pgAdmin.Browser.Panel({
|
'dependencies': new pgAdmin.Browser.Panel({
|
||||||
|
|
|
@ -73,3 +73,11 @@
|
||||||
.CodeMirror-gutters {
|
.CodeMirror-gutters {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sql_textarea {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sql_textarea .CodeMirror-scroll {
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue