diff --git a/core/.stylelintrc.yml b/core/.stylelintrc.yml index 0db23dfb84..5fc36bde75 100644 --- a/core/.stylelintrc.yml +++ b/core/.stylelintrc.yml @@ -268,8 +268,6 @@ rules: - margin - margin-left - margin-right - - margin-top - - margin-bottom - border-radius - border-top-left-radius - border-top-right-radius diff --git a/core/src/components/action-sheet/action-sheet.ios.scss b/core/src/components/action-sheet/action-sheet.ios.scss index d4443a2011..40d677877e 100644 --- a/core/src/components/action-sheet/action-sheet.ios.scss +++ b/core/src/components/action-sheet/action-sheet.ios.scss @@ -11,8 +11,7 @@ } .action-sheet-wrapper { - @include margin(constant(safe-area-inset-top), auto, constant(safe-area-inset-bottom), auto); - @include margin(env(safe-area-inset-top), auto, env(safe-area-inset-bottom), auto); + @include margin(var(--ion-statusbar-padding), auto, var(--ion-bottom-padding), auto); } diff --git a/core/src/components/action-sheet/test/basic/index.html b/core/src/components/action-sheet/test/basic/index.html index 0570f70b42..e02451199d 100644 --- a/core/src/components/action-sheet/test/basic/index.html +++ b/core/src/components/action-sheet/test/basic/index.html @@ -33,6 +33,10 @@