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