Toolbar padding, list maring

This commit is contained in:
Max Lynch
2015-06-30 14:11:33 -05:00
parent a9eb9f5519
commit 7ba77d119f
3 changed files with 7 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<ion-title>Ionic 2.0</ion-title> <ion-title>Ionic 2.0</ion-title>
</ion-toolbar> </ion-toolbar>
<ion-content> <ion-content>
<ion-list inset> <ion-list>
<ion-item *ng-for="#c of components" (^click)="openPage(aside, c)"> <ion-item *ng-for="#c of components" (^click)="openPage(aside, c)">
<span>{{c.title}}</span> <span>{{c.title}}</span>
</ion-item> </ion-item>

View File

@ -2,8 +2,8 @@
// List // List
// -------------------------------------------------- // --------------------------------------------------
$list-margin-top: 35px !default; $list-margin-top: 0px !default;
$list-margin-bottom: 10px !default; $list-margin-bottom: 0px !default;
.list-header { .list-header {

View File

@ -16,9 +16,13 @@ $toolbar-ios-button-font-size: 1.7rem !default;
$toolbar-ios-button-text-color: #007aff !default; $toolbar-ios-button-text-color: #007aff !default;
$toolbar-ios-button-background-color: transparent !default; $toolbar-ios-button-background-color: transparent !default;
$toolbar-ios-padding: 0px 15px;
.platform-ios ion-toolbar { .platform-ios ion-toolbar {
padding: $toolbar-ios-padding;
height: $toolbar-ios-height; height: $toolbar-ios-height;
background: $toolbar-ios-background; background: $toolbar-ios-background;