mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00

Added some tests for modals with a toolbar, only target the first toolbar in a menu or modal so the user can have multiple toolbars without skewing them. References #469
30 lines
795 B
SCSS
30 lines
795 B
SCSS
|
|
// iOS Cordova
|
|
// --------------------------------------------------
|
|
|
|
$cordova-ios-toolbar-padding: 2rem !default;
|
|
|
|
|
|
&.platform-cordova.platform-ios {
|
|
|
|
ion-navbar-section,
|
|
ion-navbar,
|
|
ion-menu > ion-toolbar:first-child,
|
|
ion-menu > ion-toolbar:first-child ion-title,
|
|
ion-page.modal > ion-toolbar:first-child,
|
|
ion-page.modal > ion-toolbar:first-child ion-title, {
|
|
min-height: $toolbar-ios-height + $cordova-ios-toolbar-padding;
|
|
height: $toolbar-ios-height + $cordova-ios-toolbar-padding;
|
|
}
|
|
|
|
ion-navbar,
|
|
ion-navbar ion-title,
|
|
ion-menu > ion-toolbar:first-child,
|
|
ion-menu > ion-toolbar:first-child ion-title,
|
|
ion-page.modal > ion-toolbar:first-child,
|
|
ion-page.modal > ion-toolbar:first-child ion-title, {
|
|
padding-top: $cordova-ios-toolbar-padding;
|
|
}
|
|
|
|
}
|