8
Views
2
Comments
[Dynamic Submenu] Dropdown Width
Forge component by Izam Basiron
0
Published on 03 Feb 2021
Application Type
Reactive

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

Rank: #658

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!

Staff
Rank: #469

Hi Benjamin,

I've updated the css to include this line:

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

Hope it helps!

Regards,

Izam