MOBILE-2464 imageviewer: Enable scroll to image viewer
This commit is contained in:
		
							parent
							
								
									440c5c3a02
								
							
						
					
					
						commit
						5ef2028acf
					
				| @ -27,6 +27,17 @@ core-course-format { | |||||||
|             width: 100%; |             width: 100%; | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | 
 | ||||||
|  |     .item-divider  { | ||||||
|  |         .label { | ||||||
|  |             margin-top: 0; | ||||||
|  |             margin-bottom: 0; | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         core-format-text { | ||||||
|  |             line-height: 44px; | ||||||
|  |         } | ||||||
|  |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .core-section-select { | .core-section-select { | ||||||
|  | |||||||
| @ -9,6 +9,8 @@ | |||||||
|         </ion-buttons> |         </ion-buttons> | ||||||
|     </ion-navbar> |     </ion-navbar> | ||||||
| </ion-header> | </ion-header> | ||||||
| <ion-content padding> | <ion-content> | ||||||
|     <img [src]="image" alt="{{ title }}" core-external-content [component]="component" [componentId]="componentId"> |     <ion-scroll zoom="true" maxZoom="2" class="core-zoom-pane" scrollX="true" scrollY="true"> | ||||||
|  |         <img [src]="image" [alt]="title" core-external-content [component]="component" [componentId]="componentId"> | ||||||
|  |     </ion-scroll> | ||||||
| </ion-content> | </ion-content> | ||||||
|  | |||||||
							
								
								
									
										7
									
								
								src/core/viewer/pages/image/image.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								src/core/viewer/pages/image/image.scss
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | |||||||
|  | .core-zoom-pane { | ||||||
|  |     height: 100%; | ||||||
|  | 
 | ||||||
|  |     img { | ||||||
|  |         max-width: none; | ||||||
|  |     } | ||||||
|  | } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user