Skip to content

Commit

Permalink
fix(modal): properly apply border radius on card-style modal (#20852)
Browse files Browse the repository at this point in the history
fixes #20851
  • Loading branch information
liamdebeasi committed Mar 25, 2020
1 parent 3bd6b5d commit dff3816
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/src/css/core.scss
Expand Up @@ -39,6 +39,14 @@ html.ios ion-modal.modal-card .ion-page > ion-header > ion-toolbar:first-of-type
padding-top: 0px;
}

// .ion-page needs to explicitly inherit
// the border radius in safari otherwise
// a card modal with ion-content[fullscreen=true]
// will not show border radius properly
html.ios ion-modal.modal-card .ion-page {
border-radius: inherit;
}

// Ionic Colors
// --------------------------------------------------
// Generates the color classes and variables based on the
Expand Down

0 comments on commit dff3816

Please sign in to comment.