mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			2.1.0
			...
			labels-wid
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					c2ea29e251 | ||
| 
						 | 
					6e1a2c436b | 
@@ -116,7 +116,9 @@
 | 
				
			|||||||
            this.options.types = this.options.types||Object.keys(allOptions);
 | 
					            this.options.types = this.options.types||Object.keys(allOptions);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            this.selectTrigger = $('<button tabindex="0"></button>').prependTo(this.uiSelect);
 | 
					            this.selectTrigger = $('<button tabindex="0"></button>').prependTo(this.uiSelect);
 | 
				
			||||||
 | 
					            if (this.options.types.length > 1) {
 | 
				
			||||||
                $('<i class="fa fa-sort-desc"></i>').appendTo(this.selectTrigger);
 | 
					                $('<i class="fa fa-sort-desc"></i>').appendTo(this.selectTrigger);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
            this.selectLabel = $('<span></span>').appendTo(this.selectTrigger);
 | 
					            this.selectLabel = $('<span></span>').appendTo(this.selectTrigger);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            this.types(this.options.types);
 | 
					            this.types(this.options.types);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -178,7 +178,7 @@
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
.form-row label {
 | 
					.form-row label {
 | 
				
			||||||
    display: inline-block;
 | 
					    display: inline-block;
 | 
				
			||||||
    width: 100px;
 | 
					    min-width: 100px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.form-row input, .form-row div[contenteditable="true"] {
 | 
					.form-row input, .form-row div[contenteditable="true"] {
 | 
				
			||||||
    width:70%;
 | 
					    width:70%;
 | 
				
			||||||
@@ -323,6 +323,7 @@
 | 
				
			|||||||
        margin-right: 20px;
 | 
					        margin-right: 20px;
 | 
				
			||||||
        text-align: right;
 | 
					        text-align: right;
 | 
				
			||||||
        width: 30px;
 | 
					        width: 30px;
 | 
				
			||||||
 | 
					        min-width: 30px;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    button {
 | 
					    button {
 | 
				
			||||||
        margin-left: 10px;
 | 
					        margin-left: 10px;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -66,7 +66,8 @@
 | 
				
			|||||||
        i {
 | 
					        i {
 | 
				
			||||||
            position: relative;
 | 
					            position: relative;
 | 
				
			||||||
            top: -3px;
 | 
					            top: -3px;
 | 
				
			||||||
            margin-right:4px;
 | 
					            margin-left: 1px;
 | 
				
			||||||
 | 
					            margin-right: 2px;
 | 
				
			||||||
            margin-top: 1px;
 | 
					            margin-top: 1px;
 | 
				
			||||||
            vertical-align: middle;
 | 
					            vertical-align: middle;
 | 
				
			||||||
            &.fa-ellipsis-h {
 | 
					            &.fa-ellipsis-h {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user