Merge branch 'issue-boards-breadcrumbs-container' into 'master'

Fixes the breadcrumb container when in issue boards

Closes #36561

See merge request !13655
This commit is contained in:
Annabel Dunstone Gray 2017-08-29 20:02:34 +00:00
commit 17165efe65
3 changed files with 8 additions and 1 deletions

View file

@ -1,8 +1,9 @@
- breadcrumb_link = breadcrumb_title_link - breadcrumb_link = breadcrumb_title_link
- container = @no_breadcrumb_container ? 'container-fluid' : container_class
- hide_top_links = @hide_top_links || false - hide_top_links = @hide_top_links || false
%nav.breadcrumbs{ role: "navigation" } %nav.breadcrumbs{ role: "navigation" }
.breadcrumbs-container{ class: [container_class, @content_class] } .breadcrumbs-container{ class: [container, @content_class] }
- if defined?(@new_sidebar) - if defined?(@new_sidebar)
= button_tag class: 'toggle-mobile-nav', type: 'button' do = button_tag class: 'toggle-mobile-nav', type: 'button' do
%span.sr-only Open sidebar %span.sr-only Open sidebar

View file

@ -1,3 +1,4 @@
- @no_breadcrumb_container = true
- @no_container = true - @no_container = true
- @content_class = "issue-boards-content" - @content_class = "issue-boards-content"
- page_title "Boards" - page_title "Boards"

View file

@ -0,0 +1,5 @@
---
title: Fix breadcrumbs container in issue boards
merge_request:
author:
type: fixed