mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
ensure monaco is correctly sized
This commit is contained in:
parent
58da87898e
commit
cc7def89af
@ -27,7 +27,7 @@ RED.library = (function() {
|
|||||||
'<div class="red-ui-panel" id="red-ui-library-dialog-load-browser"></div>'+
|
'<div class="red-ui-panel" id="red-ui-library-dialog-load-browser"></div>'+
|
||||||
'<div class="red-ui-panel">'+
|
'<div class="red-ui-panel">'+
|
||||||
'<div id="red-ui-library-dialog-load-preview">'+
|
'<div id="red-ui-library-dialog-load-preview">'+
|
||||||
'<div class="red-ui-panel" id="red-ui-library-dialog-load-preview-text"></div>'+
|
'<div class="red-ui-panel" id="red-ui-library-dialog-load-preview-text" style="position:relative; height: 50%; overflow-y: hidden;"></div>'+
|
||||||
'<div class="red-ui-panel" id="red-ui-library-dialog-load-preview-details">'+
|
'<div class="red-ui-panel" id="red-ui-library-dialog-load-preview-details">'+
|
||||||
'<table id="red-ui-library-dialog-load-preview-details-table" class="red-ui-info-table"></table>'+
|
'<table id="red-ui-library-dialog-load-preview-details-table" class="red-ui-info-table"></table>'+
|
||||||
'</div>'+
|
'</div>'+
|
||||||
@ -815,6 +815,7 @@ RED.library = (function() {
|
|||||||
open: function(e) {
|
open: function(e) {
|
||||||
RED.keyboard.disable();
|
RED.keyboard.disable();
|
||||||
$(this).parent().find(".ui-dialog-titlebar-close").hide();
|
$(this).parent().find(".ui-dialog-titlebar-close").hide();
|
||||||
|
libraryEditor.resize();
|
||||||
},
|
},
|
||||||
close: function(e) {
|
close: function(e) {
|
||||||
RED.keyboard.enable();
|
RED.keyboard.enable();
|
||||||
|
Loading…
Reference in New Issue
Block a user