Currently working on a complex bootstrap 4 menu button with multiple levels and encountering an issue with the selectable area.
To demonstrate the problem, I have marked the current clickable area with black borders and highlighted the desired clickable area in red.
Check out my example here: https://codepen.io/anon/pen/zWeqbE
Primary dropdown menu
I am aiming to make the entire <li>
area clickable and fully highlighted - at the moment, there are top and bottom margins that I'm struggling to remove.
https://i.sstatic.net/whFKb.png
Submenu
The links within the <a>
tags are clickable, but currently, the clickable area is restricted to just the link itself rather than encompassing the entire <li>
element.