Fix missing row & container classes

This commit is contained in:
kushalpandya 2017-07-07 23:00:14 +05:30
parent 8725081597
commit 6384985f22
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
- public_project_count = ProjectsFinder.new(current_user: current_user).execute.count
- if current_user.can_create_group?
.blank-state.clearfix
.row.blank-state.clearfix
.col-md-1.col-md-offset-3.blank-state-icon
= custom_icon("add_new_group", size: 50)
.col-md-5.blank-state-body
@ -12,7 +12,7 @@
= link_to new_group_path, class: "btn btn-new" do
New group
.blank-state.clearfix
.row.blank-state.clearfix
.col-md-1.col-md-offset-3.blank-state-icon
= custom_icon("add_new_project", size: 50)
.col-md-5.blank-state-body
@ -32,7 +32,7 @@
New project
- if public_project_count > 0
.blank-state.clearfix
.row.blank-state.clearfix
.col-md-1.col-md-offset-3.blank-state-icon
= custom_icon("globe", size: 50)
.col-md-5.blank-state-body

View file

@ -1,6 +1,6 @@
.row.blank-state-parent-container
.section-container
.section-body.section-welcome{ class: "#{ 'section-admin-welcome' if current_user.admin? }" }
.container.section-body.section-welcome{ class: "#{ 'section-admin-welcome' if current_user.admin? }" }
.blank-state.blank-state-welcome
%h2.blank-state-welcome-title
Welcome to GitLab