mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	fix upload button width on safari
This commit is contained in:
		| @@ -882,7 +882,7 @@ RED.palette.editor = (function() { | ||||
|  | ||||
|         if (RED.settings.theme('palette.upload') !== false) { | ||||
|             var uploadSpan = $('<span class="button-group">').prependTo(toolBar); | ||||
|             var uploadButton = $('<button type="button" class="red-ui-sidebar-header-button red-ui-palette-editor-upload-button"><label><i class="fa fa-upload"></i><form id="red-ui-palette-editor-upload-form" enctype="multipart/form-data"><input name="tarball" type="file" accept=".tgz"></label></button>').appendTo(uploadSpan); | ||||
|             var uploadButton = $('<button type="button" class="red-ui-sidebar-header-button red-ui-palette-editor-upload-button"><label><i class="fa fa-upload"></i><form id="red-ui-palette-editor-upload-form" enctype="multipart/form-data" style="width: 0px;"><input name="tarball" type="file" accept=".tgz"></label></button>').appendTo(uploadSpan); | ||||
|  | ||||
|             var uploadInput = uploadButton.find('input[type="file"]'); | ||||
|             uploadInput.on("change", function(evt) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user