From aa0a63082c7377b4eae6ff51ac6de14418c37657 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Tue, 11 Jul 2017 08:53:52 +0100 Subject: Added limit-container-width to breadcrumbs container 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 --- app/views/projects/show.html.haml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views/projects/show.html.haml') diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index d413c4619be..a73e111ad6d 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -1,4 +1,5 @@ - @no_container = true +- @content_class = "limit-container-width" unless fluid_layout - flash_message_container = show_new_nav? ? :new_global_flash : :flash_message = content_for :meta_tags do -- cgit v1.2.3