commit
4ff2686617
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
<div padding>
|
<div padding>
|
||||||
<core-format-text [component]="component" [componentId]="componentId" [text]="contents"></core-format-text>
|
<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" }}
|
{{ 'core.lastmodified' | translate}}: {{ page.timemodified * 1000 | coreFormatDate: "dfmediumdate" }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -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.
|
// Default loading message.
|
||||||
this.message = this.translate.instant('core.loading');
|
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 {
|
ngOnChanges(changes: { [name: string]: SimpleChange }): void {
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
ion-app.app-root page-core-viewer-iframe {
|
ion-app.app-root page-core-viewer-iframe {
|
||||||
|
.scroll-content {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
core-loading .core-loading-content {
|
core-loading .core-loading-content {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue