Menubar sub items height

UI Components for Angular
Post Reply
Posts: 1
Joined: 31 Mar 2021, 09:29

31 Mar 2021, 09:35

Right now, the menubar sub items take the entire page and if there are many subitems and a scroll bar is added to the entire page
Is it possible to set the height of the sub items such that a scroll bar can be added only to the menubar subitems rather than scrolling the entire page?

Posts: 63
Joined: 19 Sep 2018, 02:52

02 Apr 2021, 20:47

I am curious about this one. I tried:

Code: Select all

ul.p-submenu-list {
    max-height: 300px;
but it did not contain the dropdown.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests