Commit cef92f1
committed
fix(FilterNavigatorBar): clip overflow so many breadcrumbs do not expand the parent
Without overflow: hidden the bar's intrinsic min-content width (sum of all
nowrap children) propagates up through the flex column parent and makes the
flame-graph tab grow horizontally past the viewport. With many breadcrumbs
the tab ends up around 15k px wide and gains a horizontal scrollbar.
Items inside the bar already have text-overflow: ellipsis on
.filterNavigatorBarItemContent, so clipping at the bar level is the
intended behaviour. The original comment noted that overflow was omitted
to preserve a fade-out animation on items at the end; that animation has
since been removed, so the constraint no longer applies.
Closes #60281 parent fe5f9f0 commit cef92f1
1 file changed
Lines changed: 5 additions & 3 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
0 commit comments