Skip to content

Commit

Permalink
fix(action-sheet): safe area is now accounted for in MD mode (#24176)
Browse files Browse the repository at this point in the history
resolves #24175
  • Loading branch information
liamdebeasi authored Nov 8, 2021
1 parent 2485b30 commit 642255e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions core/src/components/action-sheet/action-sheet.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
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
// ---------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion core/src/components/action-sheet/action-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

.action-sheet-wrapper {
@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));

display: block;
Expand Down

0 comments on commit 642255e

Please sign in to comment.