Hi,
I’m looking for pointers (rather than spend hours looking through the source code) on setting the width of the submenu/dropdown of the inline navigation menu in Pro (.sub-menu .x-dropdown
) which seems to be overridden by some JS? I’m unable to set the sub-menu ul
to be wider than the parent li
which is starting to annoy me (I thought this would be a simple thing to do)
I would expect that some CSS such as the following would have allowed me to achieve what I wanted:
position: absolute;
display: block;
width: 100%;
height: 45px;
position: absolute;
However, even though the menus are built with flexbox, assigning something like flex: 1 0 100%
doesn’t work either.
Hence my suspicion that some JS is involved (either that or I’m being blind to the obvious, which I will no doubt notice as soon as I’ve posted this ).
I’d be really grateful for someone ‘in the know’ pointing me in the direction of the files concerned…