Using striped tabs without ionic header
I am using tabs with no header and I have this white space between tabs and content.
so I want to know if I can override the x css view and fix that white space.
here is my code:
<ion-tabs class="tabs-striped tabs-top tabs-background-dark tabs-color-energized">
<ion-tab title="hier"ui-sref="help">
<ion-nav-view name="help"></ion-nav-view>
</ion-tab>
<ion-tab title="aujourd'hui" ui-sref="home">
<ion-nav-view name="home"> </ion-nav-view>
</ion-tab>
<ion-tab title="demain" ui-sref="contact">
<ion-nav-view name="contact"></ion-nav-view>
</ion-tab>
</ion-tabs>
I am using this css code to put the striped bar up:
.tabs-top >.tabs, .tabs.tabs-top
{
top: 0 !important;
}
+3
source to share