Skip to content

Commit fd9cdc7

Browse files
committed
fix(tabs): reduce padding on tabs for ios
fixes #6679
1 parent bc306c6 commit fd9cdc7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/components/tabs/tabs.ios.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// --------------------------------------------------
66

77
$tabbar-ios-background: $toolbar-ios-background !default;
8-
$tabbar-ios-item-padding: 0 10px !default;
8+
$tabbar-ios-item-padding: 0 2px !default;
99
$tabbar-ios-item-font-size: 10px !default;
1010
$tabbar-ios-item-icon-size: 30px !default;
1111
$tabbar-ios-height: 49px !default;

src/components/tabs/test/basic/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ export class Tab3 {
225225
<ion-tab tabTitle="Plain List" tabIcon="star" [root]="root1" (ionSelect)="onSelect($event)"></ion-tab>
226226
<ion-tab tabTitle="Schedule" tabIcon="globe" [root]="root2"></ion-tab>
227227
<ion-tab tabTitle="Stopwatch" tabIcon="stopwatch" [root]="root3"></ion-tab>
228+
<ion-tab tabTitle="Messages" tabIcon="chatboxes" [root]="root1"></ion-tab>
229+
<ion-tab tabTitle="My Profile" tabIcon="person" [root]="root2"></ion-tab>
228230
</ion-tabs>
229231
`
230232
})

src/components/tabs/test/tab-bar-scenarios/main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<ion-tabs tabbarLayout="icon-hide" no-navbar>
5252
<ion-tab tabTitle="Recents" tabIcon="call" [root]="root"></ion-tab>
5353
<ion-tab tabTitle="Favorites" tabIcon="heart" [root]="root"></ion-tab>
54-
<ion-tab tabTitle="Settings" tabIcon="settings" [root]="root"></ion-tab>
54+
<ion-tab tabTitle="Settings" tabIcon="settings" [root]="root"></ion-tab>
5555
</ion-tabs>
5656

5757

0 commit comments

Comments
 (0)