MOBILE-3833 iframe: Fix iframe heights
parent
0963914524
commit
c0a0d3bff6
|
@ -1,14 +1,5 @@
|
||||||
:host {
|
:host {
|
||||||
> div {
|
flex-grow: 1;
|
||||||
max-width: 100%;
|
|
||||||
max-height: 100%;
|
|
||||||
}
|
|
||||||
iframe {
|
|
||||||
border: 0;
|
|
||||||
display: block;
|
|
||||||
max-width: 100%;
|
|
||||||
background-color: var(--ion-background-color);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:host-context(.core-iframe-fullscreen) {
|
:host-context(.core-iframe-fullscreen) {
|
||||||
|
@ -21,3 +12,8 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host-context(.limited-width > :not([slot])) {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
|
@ -93,4 +93,5 @@
|
||||||
:host-context(.limited-width > ):not([slot]) {
|
:host-context(.limited-width > ):not([slot]) {
|
||||||
--contents-display: flex;
|
--contents-display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
min-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -863,6 +863,7 @@ ion-content.limited-width > :not([slot]) {
|
||||||
ion-content.limited-width > :not([slot]) {
|
ion-content.limited-width > :not([slot]) {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
min-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-toolbar h1 img.core-bar-button-image,
|
ion-toolbar h1 img.core-bar-button-image,
|
||||||
|
@ -1500,6 +1501,7 @@ ion-content.disable-scroll-y::part(scroll) {
|
||||||
}
|
}
|
||||||
|
|
||||||
iframe {
|
iframe {
|
||||||
|
flex-grow: 1;
|
||||||
border: 0;
|
border: 0;
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
Loading…
Reference in New Issue