mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(action-sheet): safe area is now accounted for in MD mode (#24176)
resolves #24175
This commit is contained in:
@ -22,11 +22,6 @@
|
|||||||
text-align: $action-sheet-ios-text-align;
|
text-align: $action-sheet-ios-text-align;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-sheet-wrapper {
|
|
||||||
@include margin(var(--ion-safe-area-top, 0), auto, var(--ion-safe-area-bottom, 0), auto);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// iOS Action Sheet Container
|
// iOS Action Sheet Container
|
||||||
// ---------------------------------------------------
|
// ---------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
.action-sheet-wrapper {
|
.action-sheet-wrapper {
|
||||||
@include position(null, 0, 0, 0);
|
@include position(null, 0, 0, 0);
|
||||||
@include margin(auto);
|
@include margin(var(--ion-safe-area-top, 0), auto, var(--ion-safe-area-bottom, 0), auto);
|
||||||
@include transform(translate3d(0, 100%, 0));
|
@include transform(translate3d(0, 100%, 0));
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
|
|||||||
Reference in New Issue
Block a user