flexnav icon indicating copy to clipboard operation
flexnav copied to clipboard

dropdown menu not displaying to full width on small screen after setting calcItemWidths to true to make more than 5 parent li fit on same line on big or full screen

Open RetinaInc opened this issue 12 years ago • 2 comments

As you suggested in my previous issue on https://github.com/indyplanets/flexnav/issues/140, I set calcItemWidths to true such that I can make more li elements since by default flexnav fits only 5 li elements with calcItemWidths set to default (false), But doing so I found that on small screen the li elements are not displaying to full width. here is image : flexerror

RetinaInc avatar Apr 11 '14 19:04 RetinaInc

I have the same issue. Were you able to find a solution? Thanks.

irun4ik avatar Apr 26 '15 19:04 irun4ik

I fixed it by adding "width:260px;" to ".flexnav li > ul":

.flexnav li > ul { position: absolute; top: auto; left: 0; width:260px; /added this line/ }

irun4ik avatar Apr 28 '15 17:04 irun4ik