MOBILE-3833 iframe: Fix iframe heights

main
Pau Ferrer Ocaña 2022-03-31 11:56:44 +02:00
parent 0963914524
commit c0a0d3bff6
3 changed files with 9 additions and 10 deletions

View File

@ -1,14 +1,5 @@
:host {
> div {
max-width: 100%;
max-height: 100%;
}
iframe {
border: 0;
display: block;
max-width: 100%;
background-color: var(--ion-background-color);
}
flex-grow: 1;
}
:host-context(.core-iframe-fullscreen) {
@ -21,3 +12,8 @@
height: 100%;
z-index: 9999;
}
:host-context(.limited-width > :not([slot])) {
display: flex;
flex-direction: column;
}

View File

@ -93,4 +93,5 @@
:host-context(.limited-width > ):not([slot]) {
--contents-display: flex;
flex-direction: column;
min-height: 100%;
}

View File

@ -863,6 +863,7 @@ ion-content.limited-width > :not([slot]) {
ion-content.limited-width > :not([slot]) {
display: flex;
flex-direction: column;
min-height: 100%;
}
ion-toolbar h1 img.core-bar-button-image,
@ -1500,6 +1501,7 @@ ion-content.disable-scroll-y::part(scroll) {
}
iframe {
flex-grow: 1;
border: 0;
display: block;
max-width: 100%;