Skip to content

Commit cef6fd7

Browse files
committed
fix(modal): limited padding-top to only apply on ios styles
1 parent 6778e42 commit cef6fd7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/src/components/modal/modal.ios.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,7 @@
8787
:host(.modal-sheet) .modal-wrapper {
8888
@include border-radius(var(--border-radius), var(--border-radius), 0, 0);
8989
}
90+
91+
:host(.modal-sheet.modal-scroll-all) ion-footer ion-toolbar.ios:first-of-type {
92+
padding-top: 6px;
93+
}

core/src/components/modal/modal.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,3 @@ ion-backdrop {
173173

174174
width: var(--width);
175175
}
176-
177-
:host(.modal-sheet.modal-scroll-all) ion-footer ion-toolbar:first-of-type {
178-
padding-top: 6px;
179-
}

0 commit comments

Comments
 (0)