MOBILE-2765 iframe: Iframe viewer should occupy full height
parent
62a37720da
commit
26b7c3f377
|
@ -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…
Reference in New Issue