S
S
sSmok2014-10-18 17:10:44
Angular
sSmok, 2014-10-18 17:10:44

How to put ion-tabs at the top of the screen in Ionic Framework?

Hello!
I'm studying the Ionic Framework, a problem arose - I put tabs at the top of the screen, but there is a gap, it seems for navigation. I can't figure out how to remove this gap. Help me to understand.
Thank you!
example: codepen.io/anon/pen/hwEor

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sSmok, 2014-10-20
@sSmok

If anyone is interested, I solved the problem using css:

.tabs-top > .tabs {
  top: 0;
}

.has-tabs-top {
  top: 49px;
}

On CodePen it only works with !important: codepen.io/anon/pen/cDEJm
It's really strange, but I didn't find a solution to this problem 'out of the box'.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question