My navigation bar currently has icons placed at the center of a DIV, but I would like to fill up the entire DIV without any spaces left on the sides.
The HTML code for the DIV containing the icons is as follows:
<nav class="navbar navbar-expand navbar-light bg-light fixed-bottom" style="padding-top: 0px; padding-bottom: 0px; width: 100%;">
<div class="bottom-nav navbar-nav" style="height: 100%; margin: 0px auto;">
<a href="#law" data-rb-event-key="#law" class="nav-icon fa-2x nav-link">
ICON
</a>
<a href="#bar" data-rb-event-key="#bar" class="nav-icon fa-2x nav-link">
ICON
</a>
</div>
</nav>
I am working with a REACT application and also using Bootstrap. I have tried adding "margin-left: 0" and "margin-right: 0" but it did not solve the issue.
If anyone familiar with Bootstrap can help me achieve this, I would greatly appreciate it. Thank you.