diff options
author | Phil Hughes <me@iamphill.com> | 2017-07-05 10:45:10 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-07-05 10:45:10 +0300 |
commit | 65c96bfac51f5e15c447f76d8e90aac5b3287bba (patch) | |
tree | 0c1ab43bce6b261a7424edb4416002fe79c9dbb3 /app/views/projects/tree | |
parent | 5af1fcd6f329858d757bab0d67cb50af6c820160 (diff) |
Limit the file tree view container width
Closes #34670
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r-- | app/views/projects/tree/show.html.haml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/tree/show.html.haml b/app/views/projects/tree/show.html.haml index 96a08f9f8be..75f87bf752c 100644 --- a/app/views/projects/tree/show.html.haml +++ b/app/views/projects/tree/show.html.haml @@ -5,7 +5,6 @@ = auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, rss_url_options), title: "#{@project.name}:#{@ref} commits") = render "projects/commits/head" -= render 'projects/last_push' - -%div{ class: container_class } +%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] } + = render 'projects/last_push' = render 'projects/files', commit: @last_commit, project: @project, ref: @ref |