forked from MapComplete/MapComplete
		
	UX: add zoom-cursor to clickable images
This commit is contained in:
		
							parent
							
								
									f95a1a8039
								
							
						
					
					
						commit
						6205da9d41
					
				
					 3 changed files with 17 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -64,7 +64,7 @@
 | 
			
		|||
</script>
 | 
			
		||||
 | 
			
		||||
<div class="flex w-fit shrink-0 flex-col">
 | 
			
		||||
  <div on:click={() => state.previewedImage.setData(providedImage)}>
 | 
			
		||||
  <div on:click={() => state.previewedImage.setData(providedImage)} class="cursor-zoom-in">
 | 
			
		||||
    <AttributedImage image={providedImage} imgClass="max-h-64 w-auto"/>
 | 
			
		||||
  </div>
 | 
			
		||||
  {#if linkable}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue