Skip to content

Commit

Permalink
fix(tabs): reduce padding on tabs for ios
Browse files Browse the repository at this point in the history
fixes #6679
  • Loading branch information
brandyscarney committed Jun 8, 2016
1 parent bc306c6 commit fd9cdc7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/tabs/tabs.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// --------------------------------------------------

$tabbar-ios-background: $toolbar-ios-background !default;
$tabbar-ios-item-padding: 0 10px !default;
$tabbar-ios-item-padding: 0 2px !default;
$tabbar-ios-item-font-size: 10px !default;
$tabbar-ios-item-icon-size: 30px !default;
$tabbar-ios-height: 49px !default;
Expand Down
2 changes: 2 additions & 0 deletions src/components/tabs/test/basic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ export class Tab3 {
<ion-tab tabTitle="Plain List" tabIcon="star" [root]="root1" (ionSelect)="onSelect($event)"></ion-tab>
<ion-tab tabTitle="Schedule" tabIcon="globe" [root]="root2"></ion-tab>
<ion-tab tabTitle="Stopwatch" tabIcon="stopwatch" [root]="root3"></ion-tab>
<ion-tab tabTitle="Messages" tabIcon="chatboxes" [root]="root1"></ion-tab>
<ion-tab tabTitle="My Profile" tabIcon="person" [root]="root2"></ion-tab>
</ion-tabs>
`
})
Expand Down
2 changes: 1 addition & 1 deletion src/components/tabs/test/tab-bar-scenarios/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<ion-tabs tabbarLayout="icon-hide" no-navbar>
<ion-tab tabTitle="Recents" tabIcon="call" [root]="root"></ion-tab>
<ion-tab tabTitle="Favorites" tabIcon="heart" [root]="root"></ion-tab>
<ion-tab tabTitle="Settings" tabIcon="settings" [root]="root"></ion-tab>
<ion-tab tabTitle="Settings" tabIcon="settings" [root]="root"></ion-tab>
</ion-tabs>


Expand Down

0 comments on commit fd9cdc7

Please sign in to comment.