fix(GlBreadcrumb): Fix details in resize calc
For the first size check with all items visible, it is not needed to consider the collapse button width, as it wouldn't be shown in case all items fit. Also shrink the expected size of the button to not expect more space than what is actually required. This otherwise can lead to recursive calls, shrinking down to the last element because the actual wrapper size is smaller than what the calc expects.
Loading
-
mentioned in commit 5b77e7b4
-
mentioned in merge request status-page!903
-
mentioned in merge request gitlab!150878 (merged)
-
mentioned in merge request gitlab-org/frontend/pajamas-adoption-scanner!323 (merged)
-
mentioned in merge request gitlab-org/gitlab-services/design.gitlab.com!3827 (merged)
-
mentioned in merge request gitlab-org/frontend/playground/accessibility-scanner!34 (merged)
-
mentioned in merge request gitlab-org/editor-extensions/gitlab-jetbrains-plugin!486 (closed)
-
mentioned in merge request gitlab-org/editor-extensions/gitlab-jetbrains-plugin!570 (merged)
-
2️⃣ @psjakubowskamentioned in issue gitlab#546417 (closed)
Please register or sign in to comment