Skip to content

Commit 0b4a359

Browse files
committed
MOBILE-3485 tabs: Fix tab margin on scorm
1 parent 2fb4089 commit 0b4a359

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/components/ion-tabs/core-ion-tabs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</span>
88
</div>
99
</div>
10-
<div #originalTabs class="tabcontent">
10+
<div #originalTabs class="tabcontent" [class.tabshidden]="hidden">
1111
<ng-content></ng-content>
1212
</div>
1313
<div #portal tab-portal></div>

src/components/ion-tabs/ion-tabs.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ ion-app.app-root core-ion-tabs {
2727
.ion-page > ion-content > .scroll-content {
2828
margin-bottom: $navbar-md-height;
2929
}
30+
.tabshidden .ion-page > ion-content > .scroll-content {
31+
margin-bottom: 0;
32+
}
3033
}
3134

3235
&[tabsplacement="side"] {

0 commit comments

Comments
 (0)