Problem/Motivation

As admin/editor, I want to see all the tabs above the content type.
When using mobile - tabs are too wide, and without scrolling sideways you can easily miss the other tabs available.

Here's how it looks:

Proposed resolution

Add flex-wrap to tabs line. When screen is not wide enough to show all tabs in 1 line it will split into multiple lines.

Remaining tasks

Create a patch that fixes it.

Comments

shaal created an issue. See original summary.

shaal’s picture

Status: Active » Needs review
StatusFileSize
new106.44 KB
new507 bytes

I created a patch that adds
flex-wrap: wrap; to .tabs.primary rule

Screenshot of tabs on mobile after this patch is applied:

pawandubey’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new36.29 KB
new36.27 KB

@shaal

Patch#2 working fine in mobile resolution as per expectation and no further horizontal scroll visible after wrapping the tabs.

kjay’s picture

Thanks for the patch and the review! Yes, this one works as described and as per the screenshots. +1 for RTBC.

shaal’s picture

  • lauriii committed 56961cc on 8.8.x
    Issue #3046121 by shaal, pawandubey, kjay: Umami tabs are too wide for...

  • lauriii committed 9d79866 on 8.7.x
    Issue #3046121 by shaal, pawandubey, kjay: Umami tabs are too wide for...
lauriii’s picture

Status: Reviewed & tested by the community » Fixed

Committed 56961cc and pushed to 8.8.x. Also cherry-picked to 8.7.x. Thanks!

Status: Fixed » Closed (fixed)

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