forked from MapComplete/MapComplete
		
	Fix ways: they show up again
This commit is contained in:
		
							parent
							
								
									314894085a
								
							
						
					
					
						commit
						2685b6e734
					
				
					 6 changed files with 67 additions and 65 deletions
				
			
		|  | @ -103,21 +103,8 @@ export class ImageUploadFlow extends UIElement { | |||
|         const label = new Combine([ | ||||
|             Svg.camera_plus_svg().SetStyle("width: 36px;height: 36px;padding: 0.1em;margin-top: 5px;border-radius: 0;float: left;display:block"), | ||||
|             Translations.t.image.addPicture | ||||
|                 .SetStyle("width:max-content;font-size: 28px;" + | ||||
|                     "font-weight: bold;" + | ||||
|                     "float: left;" + | ||||
|                     "margin-top: 4px;" + | ||||
|                     "padding-top: 4px;" + | ||||
|                     "padding-bottom: 4px;" + | ||||
|                     "padding-left: 13px;"), | ||||
| 
 | ||||
|         ]).SetStyle(" display: flex;" + | ||||
|             "cursor:pointer;" + | ||||
|             "padding: 0.5em;" + | ||||
|             "border-radius: 1em;" + | ||||
|             "border: 3px solid var(--foreground-color);" + | ||||
|             "box-sizing:border-box;") | ||||
| 
 | ||||
|         ]).SetClass("image-upload-flow-button") | ||||
|      | ||||
|         const actualInputElement = | ||||
|             `<input style='display: none' id='fileselector-${this.id}' type='file' accept='image/*' name='picField' multiple='multiple' alt=''/>`; | ||||
|          | ||||
|  | @ -131,7 +118,8 @@ export class ImageUploadFlow extends UIElement { | |||
|         return new Combine([ | ||||
|             form, | ||||
|             extraInfo | ||||
|         ]).SetStyle("margin-top: 1em;margin-bottom: 2em;text-align: center;") | ||||
|         ]).SetClass("image-upload-flow") | ||||
|             .SetStyle("margin-top: 1em;margin-bottom: 2em;text-align: center;") | ||||
|             .Render(); | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue