In the User Profile page as Admin I have 26 tabs and it does wrap the additional tabs, but does not adjust for the Body Pages so the second row of tabs show halfway underneath the pages. Does this with Fubik also.


Vc Developer’s picture

new185.75 KB
new59.55 KB

Here's idea you can use for your next release. View the screen shoot....

haydeniv’s picture

Issue summary:View changes
Status:Active» Needs work

Could you provide this in a patch format against the latest dev version so that it is easier to review?



topsitemakers’s picture

Assigned:Unassigned» topsitemakers
Category:Bug report» Task

The reason I didn't close this, is that it still represents an issue and is something I run into several times.

I'm thinking about the most optimal way of solving this. One way would be to perform a JS check that will see if the total width of tabs is wider than the content area, and if yes, add an extra CSS class that will style tabs differently.

I'm assigning this to myself, and will keep this issue posted.

topsitemakers’s picture

new2.7 KB

Alright, patch is attached. I won't commit this yet to dev, just so we can test it thoroughly.

The patch uses JS to calculate the row position of each tab, and give it first/last classes appropriately.


Normal: http://i.imgur.com/QOq5ld9.png
One tab in second row: http://i.imgur.com/FGzzRPX.png
More tabs in second row: http://i.imgur.com/mYidGg8.png
Three rows: http://i.imgur.com/0cgjNiK.png

topsitemakers’s picture

Status:Needs work» Needs review


topsitemakers’s picture

Status:Needs review» Fixed

Marking this as fixed; so far I haven't noticed any issues. Will be committed shortly.

  • topsitemakers committed c9f2289 on 7.x-4.x
    Issue #1699070 by topsitemakers: Not handling multiple tabs

Status:Fixed» Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.