How can I customize the tiered menue item width

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
wuppi
Posts: 18
Joined: 07 Oct 2022, 17:53

23 Dec 2022, 17:22

What is the correct way to customize the width of tiered menues in the Apollo Template?
Maybe even on instance, not on general basis?

Does anybody know about it? :idea:

Thanks and best

Wuppi

gucal
Posts: 50
Joined: 06 Sep 2022, 08:45

26 Dec 2022, 21:23

Hi,

You can use `styleClass` prop.

Example:

Code: Select all

<p-tieredMenu [model]="menuItems" styleClass="w-20rem"></p-tieredMenu>
.
Best Regards
Aliriza Gucal
PrimeNG Core Developer

Post Reply

Return to “Apollo - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests