p:menu content size issue

UI Components for JSF
Post Reply
luisalves00
Posts: 71
Joined: 21 Feb 2011, 18:37

25 Feb 2011, 17:20


User avatar
bumble.bee
Posts: 723
Joined: 29 Sep 2010, 21:39
Location: United States

28 Feb 2011, 16:37

The issue you created has been marked as "won't fix", but I wanted to add that the suggested work-around doesn't work so good. The right triangle will still wrap even with the white-space: nowrap css.

luisalves00
Posts: 71
Joined: 21 Feb 2011, 18:37

04 Mar 2011, 14:33

but should be fixed...Since it's not working in a proper way...

This is what is rendered:

Code: Select all

<a href="javascript:void(0)" class="wijmo-wijmenu-link ui-corner-all">
              <span class="wijmo-wijmenu-text" style="border: 1px solid red;">
                            <span class="wijmo-wijmenu-text" style="">Gestão de Colaboradores e Prestadores</span>
              </span>
              <span class="ui-icon ui-icon-triangle-1-e" style="border: 1px solid green;"></span>
</a>
did this to fix the text out of the "box":

.wijmo-wijmenu .wijmo-wijmenu-parent .wijmo-wijmenu-child {
width: auto !important;
}

the white-space: nowrap; doesn't work as you siad

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 66 guests