Problem/Motivation
After #3019851: Tabs should remain horizontal on desktop beyond a certain width has been fixed, you can notice that, when you have a big number of primary tabs with a width less or equal to 1100 pixels, tabs are not collapsed.
Steps to reproduce
Have many primary tabs and resize the browser width to 1100 pixels or less.

Proposed resolution
Separately check for primary and secondary tabs.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 260304-1528.png | 21.08 KB | avpaderno |
| #12 | 260304-1525.png | 22.85 KB | avpaderno |
| #10 | 3575935-tab_shouldnt_remain_horizontal-9.patch | 823 bytes | chewie |
| Screenshot_20260226_132823.png | 69.45 KB | chewie |
Issue fork seven-3575935
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
chewie commentedComment #4
chewie commentedComment #5
chewie commentedComment #6
avpadernoComment #7
avpadernoComment #8
chewie commentedAdded fix and adaptation for 11.3.x Drupal core.
Comment #9
chewie commentedComment #10
chewie commentedI've added standalone patch for 2.0.0-beta2.
Comment #12
avpadernoThis is how it appears before and after the merge request is applied.
Comment #15
avpadernoComment #16
avpadernoComment #19
avpadernoComment #20
avpadernoComment #22
avpaderno