Prevent the filter dialog CodeMirror from overflowing onto the button bar of the dialog. Fixes #3067
parent
d8bd6ea885
commit
c6e405ce72
|
|
@ -275,11 +275,11 @@ define('pgadmin.datagrid', [
|
|||
setup: function() {
|
||||
return {
|
||||
buttons: [{
|
||||
text: 'OK',
|
||||
text: gettext('OK'),
|
||||
className: 'btn btn-primary',
|
||||
},
|
||||
{
|
||||
text: 'Cancel',
|
||||
text: gettext('Cancel'),
|
||||
className: 'btn btn-danger',
|
||||
},
|
||||
],
|
||||
|
|
@ -288,6 +288,7 @@ define('pgadmin.datagrid', [
|
|||
resizable: true,
|
||||
maximizable: false,
|
||||
pinnable: false,
|
||||
autoReset: false,
|
||||
},
|
||||
};
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
<textarea id="sql_filter" rows="5" tabindex="0"></textarea>
|
||||
<style>
|
||||
.filter-textarea .CodeMirror-scroll {
|
||||
min-height: 120px;
|
||||
min-height: 120px;
|
||||
max-height: 120px;
|
||||
}
|
||||
.dataview_filter_dialog {
|
||||
bottom: 0 !important;
|
||||
|
|
|
|||
Loading…
Reference in New Issue