Skip to content
Snippets Groups Projects
Verified Commit 33dc809b authored by Florie Guibert's avatar Florie Guibert :two: Committed by GitLab
Browse files

Merge branch 'breadcrumbs-temporary-fix' into 'master'

parents 1b5ea0a3 ae8f680b
No related branches found
No related tags found
1 merge request!148673Temporarily restore old breadcrumbs UX
Pipeline #1246711089 passed with warnings
Pipeline: E2E Omnibus GitLab EE

#1246741719

    Pipeline: E2E GDK

    #1246716093

      Pipeline: E2E CNG

      #1246713330

        +29
        ......@@ -11,3 +11,25 @@
        vertical-align: sub;
        }
        }
        /*
        * This temporarily restores the legacy breadcrumbs styles on the primary HAML breadcrumbs.
        * Those styles got changed in https://gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/3663,
        * causing a regression in this particular instance which does not use a Vue component and is
        * therefore unable to collapse overflowing items within a disclosure dropdown.
        * These temporary overrides will be removed as part of https://gitlab.com/gitlab-org/gitlab/-/issues/358113.
        */
        .tmp-breadcrumbs-fix {
        .gl-breadcrumb-list {
        flex-wrap: wrap;
        max-width: none;
        .gl-breadcrumb-item {
        > a {
        @include media-breakpoint-down(xs) {
        @include str-truncated($breadcrumb-max-width);
        }
        }
        }
        }
        }
        \ No newline at end of file
        ......@@ -2,7 +2,7 @@
        - unless @skip_current_level_breadcrumb
        - push_to_schema_breadcrumb(@breadcrumb_title, breadcrumb_title_link)
        %nav.breadcrumbs.gl-breadcrumbs{ 'aria-label': _('Breadcrumbs'), data: { testid: 'breadcrumb-links' } }
        %nav.breadcrumbs.gl-breadcrumbs.tmp-breadcrumbs-fix{ 'aria-label': _('Breadcrumbs'), data: { testid: 'breadcrumb-links' } }
        %ul.breadcrumb.gl-breadcrumb-list.js-breadcrumbs-list.gl-flex-grow-1
        - unless hide_top_links
        = header_title
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment