0

im using angular ui to create my tabs, and the code i inserted was the one available in the documentation:

<form name="outerForm" class="tab-form-demo">
            <div class="tabbable full-width-tabs">
            <uib-tabset active="activeForm">
                <uib-tab index="0" heading="Title 1">
                   text
                </uib-tab>
                <uib-tab index="1" heading="Title 2">
                    text
                </uib-tab>

            </uib-tabset>
                </div>
        </form>

The problem is by default the tabs with are not full width, and for this i need to add the bootstrap class nav-justified in the ul.navtabs, but since i cant access it because the code above, generates it, how can i implement a class?

2 Answers 2

1
<uib-tabset active="activeForm" justified="true">
Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, just for curiosity, how can i add custom classes do the elements?
I think classes can be added as normal way, no?
0
  <uib-tabset active="activeForm" justified="true">
               <uib-tab index="0" heading="Title 1">
                   text
                </uib-tab>
                <uib-tab index="1" heading="Title 2">
                    text
                </uib-tab>
  </uib-tabset>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.