MOBILE-3485 tabs: Fix tab margin on scorm

main
Pau Ferrer Ocaña 2020-07-14 13:10:18 +02:00
parent 2fb4089bb0
commit 0b4a35921b
2 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,7 @@
</span>
</div>
</div>
<div #originalTabs class="tabcontent">
<div #originalTabs class="tabcontent" [class.tabshidden]="hidden">
<ng-content></ng-content>
</div>
<div #portal tab-portal></div>

View File

@ -27,6 +27,9 @@ ion-app.app-root core-ion-tabs {
.ion-page > ion-content > .scroll-content {
margin-bottom: $navbar-md-height;
}
.tabshidden .ion-page > ion-content > .scroll-content {
margin-bottom: 0;
}
}
&[tabsplacement="side"] {