I have a multi-level Bootstrap dropdown menu that I am customizing based on the design featured in this bootsnipp.
However, I am encountering an issue where some of my menu items are too lengthy, so I need to restrict their width to a maximum of 400px. Additionally, I want to ensure that the text does not get cut off, so I also need to use white-space: normal
. Unfortunately, setting max-width
seems to be ineffective in achieving this, while using width
works as intended. But that's not the solution I'm looking for since different menus may require varying amounts of space.
Does anyone have suggestions on how to create a cascading menu that accommodates these requirements?
Appreciate any assistance you can provide!