feat(modal): add expandToScroll property to allow scrolling at all breakpoints (#30097)

Issue number: resolves #24631

Co-authored-by: Maria Hutt <13530427+thetaPC@users.noreply.github.com>
Co-authored-by: Brandy Smith <brandyscarney@users.noreply.github.com>
This commit is contained in:
Israel de la Barrera
2025-02-03 19:45:15 +01:00
committed by GitHub
parent 621333d927
commit 166e43554e
23 changed files with 365 additions and 32 deletions

View File

@ -2,6 +2,7 @@
@import "../themes/ionic.globals";
@import "../components/menu/menu.ios.vars";
@import "../components/menu/menu.md.vars";
@import "../components/modal/modal.vars";
:root {
/**
@ -55,7 +56,7 @@ body.backdrop-no-scroll {
html.ios ion-modal.modal-card ion-header ion-toolbar:first-of-type,
html.ios ion-modal.modal-sheet ion-header ion-toolbar:first-of-type,
html.ios ion-modal ion-footer ion-toolbar:first-of-type {
padding-top: 6px;
padding-top: $modal-sheet-padding-top;
}
/**
@ -65,7 +66,7 @@ html.ios ion-modal ion-footer ion-toolbar:first-of-type {
*/
html.ios ion-modal.modal-card ion-header ion-toolbar:last-of-type,
html.ios ion-modal.modal-sheet ion-header ion-toolbar:last-of-type {
padding-bottom: 6px;
padding-bottom: $modal-sheet-padding-bottom;
}
/**