138
Views
2
Comments
[Dynamic Submenu] Dropdown Width
dynamic-submenu
Reactive icon
Forge asset by Izam Basiron
Application Type
Reactive

How do i make the dropdown width relative to the text length?

2021-05-18 02-27-17
Manish Gupta
Champion

Dear Ben 

If the component is having the fix width for the Submenu and not adjusting automatically with the Text - You may need to add some CSS to DynamicSubmenuOSUI. Please add the CSS there. 

If you still not clear what to do - Please make the page Public and share the URL. We will do some CSS for you. 

Also, if the component has issues you may try with another one: https://www.outsystems.com/forge/component-overview/9911/navigation-menu

Thank you!

2024-03-21 04-20-48
Izam Basiron

Hi Benjamin,

I've updated the css to include this line:

.custom-submenu.submenu.open .submenu-items {
    width: auto;
}

Hope it helps!

Regards,

Izam

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.