Commit 0ac46aa6 authored by Mauricio Gonzalez's avatar Mauricio Gonzalez Committed by Paul Slaughter

Replace css classes responsive menu

parent ea1185e2
...@@ -206,7 +206,6 @@ $('.navbar-toggler').on('click', () => { ...@@ -206,7 +206,6 @@ $('.navbar-toggler').on('click', () => {
// The order is important. The `menu-expanded` is used as a source of truth for now. // The order is important. The `menu-expanded` is used as a source of truth for now.
// This can be simplified when the :combined_menu feature flag is removed. // This can be simplified when the :combined_menu feature flag is removed.
// https://gitlab.com/gitlab-org/gitlab/-/issues/333180 // https://gitlab.com/gitlab-org/gitlab/-/issues/333180
$('.header-content').toggleClass('menu-expanded');
navEventHub.$emit(EVENT_RESPONSIVE_TOGGLE); navEventHub.$emit(EVENT_RESPONSIVE_TOGGLE);
}); });
......
...@@ -106,7 +106,7 @@ $top-nav-hover-bg: var(--indigo-900-alpha-008, $indigo-900-alpha-008) !important ...@@ -106,7 +106,7 @@ $top-nav-hover-bg: var(--indigo-900-alpha-008, $indigo-900-alpha-008) !important
&.menu-expanded { &.menu-expanded {
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {
.hide-when-menu-expanded { .hide-when-top-nav-responsive-open {
display: none; display: none;
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
%a.gl-sr-only.gl-accessibility{ href: "#content-body" } Skip to content %a.gl-sr-only.gl-accessibility{ href: "#content-body" } Skip to content
.container-fluid .container-fluid
.header-content .header-content
.title-container.hide-when-menu-expanded .title-container.hide-when-top-nav-responsive-open
%h1.title %h1.title
%span.gl-sr-only GitLab %span.gl-sr-only GitLab
= link_to root_path, title: _('Dashboard'), id: 'logo', **tracking_attrs('main_navigation', 'click_gitlab_logo_link', 'navigation') do = link_to root_path, title: _('Dashboard'), id: 'logo', **tracking_attrs('main_navigation', 'click_gitlab_logo_link', 'navigation') do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment