summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav/_breadcrumbs.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-11 08:53:52 +0100
committerPhil Hughes <me@iamphill.com>2017-07-11 08:53:52 +0100
commitaa0a63082c7377b4eae6ff51ac6de14418c37657 (patch)
treedd4d1a24c63c19e17dd3d205799d7c091f14ae51 /app/views/layouts/nav/_breadcrumbs.html.haml
parent0b434daf52cb93ea42cb49ce15aa59dd01599181 (diff)
downloadgitlab-ce-breadcrumbs-limit-width.tar.gz
Added limit-container-width to breadcrumbs containerbreadcrumbs-limit-width
This fixes an issue where the content has a limited width but the breadcrumbs remained full width. Instead of creating a new variable specifically for the breadcrumbs, it just re-uses @content_class Closes #34573
Diffstat (limited to 'app/views/layouts/nav/_breadcrumbs.html.haml')
-rw-r--r--app/views/layouts/nav/_breadcrumbs.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_breadcrumbs.html.haml b/app/views/layouts/nav/_breadcrumbs.html.haml
index 5f1641f4300..b0c1ab7420f 100644
--- a/app/views/layouts/nav/_breadcrumbs.html.haml
+++ b/app/views/layouts/nav/_breadcrumbs.html.haml
@@ -2,7 +2,7 @@
- hide_top_links = @hide_top_links || false
%nav.breadcrumbs{ role: "navigation" }
- .breadcrumbs-container{ class: container_class }
+ .breadcrumbs-container{ class: [container_class, @content_class] }
.breadcrumbs-links.js-title-container
- unless hide_top_links
.title