forked from EVOgeek/Vmeda.Online
		
	
						commit
						4ff2686617
					
				| @ -16,7 +16,7 @@ | ||||
| 
 | ||||
|     <div padding> | ||||
|         <core-format-text [component]="component" [componentId]="componentId" [text]="contents"></core-format-text> | ||||
|         <p class="addon-mod_page-timemodified" *ngIf="displayTimemodified && page && page.timemodified"> | ||||
|         <p padding-bottom class="addon-mod_page-timemodified" *ngIf="displayTimemodified && page && page.timemodified"> | ||||
|             {{ 'core.lastmodified' | translate}}: {{ page.timemodified * 1000 | coreFormatDate: "dfmediumdate" }} | ||||
|         </p> | ||||
|     </div> | ||||
|  | ||||
							
								
								
									
										10
									
								
								src/addon/mod/page/components/index/index.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/addon/mod/page/components/index/index.scss
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,10 @@ | ||||
| addon-mod-page-index { | ||||
|     /* Solves iframe height */ | ||||
|     .core-loading-content > div[padding] { | ||||
|         height: 100%; | ||||
|     } | ||||
| 
 | ||||
|     core-format-text > .no-overflow { | ||||
|         display: inline; | ||||
|     } | ||||
| } | ||||
| @ -67,6 +67,12 @@ export class CoreLoadingComponent implements OnInit, OnChanges { | ||||
|             // Default loading message.
 | ||||
|             this.message = this.translate.instant('core.loading'); | ||||
|         } | ||||
| 
 | ||||
|         // Add class if loaded on init.
 | ||||
|         if (this.hideUntil) { | ||||
|             this.element.classList.add('core-loading-loaded'); | ||||
|             this.content.nativeElement.classList.add('core-loading-content'); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     ngOnChanges(changes: { [name: string]: SimpleChange }): void { | ||||
|  | ||||
| @ -1,4 +1,7 @@ | ||||
| ion-app.app-root page-core-viewer-iframe { | ||||
|     .scroll-content { | ||||
|         overflow: hidden; | ||||
|     } | ||||
|     core-loading .core-loading-content { | ||||
|         height: 100%; | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user