The ui.bootstrap.tabs directive, which can be found here, seems to have a default margin before displaying its content.
https://i.stack.imgur.com/NECGA.png
Here is the HTML snippet:
<uib-tabset active="activeJustified" justified="false" id="tabSet" style="background-color: red">
<uib-tab index="0" heading="Assessment" class="uib-tab">
<p style="background-color: green">TEST</p>
</uib-tab>
<uib-tab index="1" headin[![enter image description here][2]][2]g="SJ" class="uib-tab"></uib-tab>
<uib-tab index="2" heading="Long Justified" class="uib-tab"></uib-tab>
</uib-tabset>
To highlight this margin, the <uib-tabset>
has a background-color: red
.
I've tried adjusting the CSS but it doesn't seem to work. (Could there be an unknown property at play?)
.uib-tab {
margin: 0px;
padding: 0px;
}
.uib-tabset {
margin: 0px;
padding: 0px;
}
Any suggestions on how to tackle this issue? Thank you!