summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kämmerle <andreas.kaemmerle@gmail.com>2018-09-24 18:20:59 +0200
committerAndreas Kämmerle <andreas.kaemmerle@gmail.com>2018-09-24 18:20:59 +0200
commitd7a2931c34d964b1bfc695546479113842bafcec (patch)
tree31e08b4e80ff9a53a33a5c5a3582d5c982db3621
parent4adb05fdc85a5f4b009ea400812f3d7c97bb2801 (diff)
downloadgitlab-ce-d7a2931c34d964b1bfc695546479113842bafcec.tar.gz
Update page width of repo graph to full-width
-rw-r--r--app/views/projects/network/_head.html.haml5
-rw-r--r--app/views/projects/network/show.html.haml6
2 files changed, 7 insertions, 4 deletions
diff --git a/app/views/projects/network/_head.html.haml b/app/views/projects/network/_head.html.haml
index f97e7a92692..c46ad433fef 100644
--- a/app/views/projects/network/_head.html.haml
+++ b/app/views/projects/network/_head.html.haml
@@ -1,7 +1,8 @@
-- @content_class = "limit-container-width" unless fluid_layout
+- @content_class = "container-fluid"
+- @no_breadcrumb_container = true
- @no_container = true
-%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
+%div
.row-content-block.second-block.content-component-block
.tree-ref-holder
= render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
diff --git a/app/views/projects/network/show.html.haml b/app/views/projects/network/show.html.haml
index b1bafd4ba08..02ea5c98500 100644
--- a/app/views/projects/network/show.html.haml
+++ b/app/views/projects/network/show.html.haml
@@ -1,9 +1,11 @@
- breadcrumb_title "Graph"
- page_title "Graph", @ref
-- @content_class = "limit-container-width" unless fluid_layout
+- @content_class = "container-fluid"
+- @no_breadcrumb_container = true
+- @no_container = true
= render "head"
-%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
+%div
.project-network
.controls
= form_tag project_network_path(@project, @id), method: :get, class: 'form-inline network-form' do |f|