Currently, I am working on customizing my menu design with a mix of bootstrap
and font awesome
CSS styles. It would be easier to demonstrate the issue on a live page. My main objectives are two-fold:
- I want to position the
chevron
icon at the bottom with a slight margin (2-3px) like this, ensuring it remains at the bottom with a little space.
https://i.sstatic.net/jQilB.png
- The issue I am facing is that the
<li>
items do not adjust their size based on the content inside them. As shown in this screenshot, the items are stuck to the bottom border, and even if I add some margin, it leads to an undesired outcome.
https://i.sstatic.net/NWrZu.png https://i.sstatic.net/JRdjz.png
The CSS styles I am currently using are:
.item-icon-container {
margin: 2px 0 15px 0;
float: right;
display: block;
height: 100%;
}
.item-icon-container .expand-indicator {
display: block;
}
.item-icon-container .badge {
display: block;
}
For the complete HTML
code, you can refer to http://pastebin.com/S26C9xSU
I am seeking assistance in resolving this issue. Any help would be highly appreciated.