mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
fix(modal): properly apply border radius on card-style modal (#20852)
fixes #20851
This commit is contained in:
committed by
Liam DeBeasi
parent
3bd6b5def2
commit
dff3816c04
@ -39,6 +39,14 @@ html.ios ion-modal.modal-card .ion-page > ion-header > ion-toolbar:first-of-type
|
|||||||
padding-top: 0px;
|
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
|
// Ionic Colors
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
// Generates the color classes and variables based on the
|
// Generates the color classes and variables based on the
|
||||||
|
|||||||
Reference in New Issue
Block a user