fix(modal): allow for custom dialog implementations (#25630)

resolves #24080
This commit is contained in:
Liam DeBeasi
2022-07-15 09:36:19 -04:00
committed by GitHub
parent 2d1efdbe6d
commit a6f3ae67ab
9 changed files with 117 additions and 0 deletions

View File

@ -162,6 +162,22 @@ html.ios ion-modal.modal-card .ion-page {
z-index: $z-index-page-container;
}
/**
* When making custom dialogs, using
* ion-content is not required. As a result,
* some developers may wish to have dialogs
* that are automatically sized by the browser.
* These changes allow certain dimension values
* such as fit-content to work correctly.
*/
ion-modal .ion-page {
position: relative;
contain: layout style;
height: 100%;
}
.split-pane-visible > .ion-page.split-pane-main {
position: relative;
}