I have implemented Bootstrap to create navigation tabs on my website. Currently, I have two navigation bars within a single div element. While they are functioning correctly, I am facing an issue where toggling through the tabs changes the height of the content, causing the navigation bar below it to move up and down. Is there a way to prevent this from happening?
The configurations div is placed above the Mobile div within the same parent div.
Example:
<div>
<div class="config"></div>
<div class="mobile" style="position:inherit;"></div>
<div>
Before
After
Additionally, it is noticeable that the lines of the navigation bars do not align properly, as the Mobile line is shorter than the configurations nav bar line. How can I adjust this?