Ensure line numbers form CodeMirror don't appear on top of menus. Fixes #2738

pull/6/head
Neel Patel 2017-10-12 10:07:18 +01:00 committed by Dave Page
parent cd7d80b650
commit 56e1fd85f4
2 changed files with 9 additions and 1 deletions

View File

@ -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({

View File

@ -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;
}