summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-06 15:10:51 +0200
committerDouwe Maan <douwe@gitlab.com>2015-08-06 15:10:51 +0200
commite2b4f13b9b61795fa71cd157a611e132fc9094da (patch)
treed578ce7a9eaf53dd3dc0556ae99ee46d92c4207c
parentfff36a8b8965e4bddd8020caf5072e79bf131a74 (diff)
downloadgitlab-ce-e2b4f13b9b61795fa71cd157a611e132fc9094da.tar.gz
Add project name to project head
-rw-r--r--app/assets/stylesheets/generic/mobile.scss4
-rw-r--r--app/assets/stylesheets/pages/projects.scss8
-rw-r--r--app/views/projects/_home_panel.html.haml1
3 files changed, 12 insertions, 1 deletions
diff --git a/app/assets/stylesheets/generic/mobile.scss b/app/assets/stylesheets/generic/mobile.scss
index 24c828e0d97..bb7b9356c70 100644
--- a/app/assets/stylesheets/generic/mobile.scss
+++ b/app/assets/stylesheets/generic/mobile.scss
@@ -48,6 +48,10 @@
display: block;
}
+ .project-home-desc {
+ font-size: 21px;
+ }
+
.project-repo-buttons,
.git-clone-holder {
display: none;
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss
index 029b167c38e..29d3dbc25eb 100644
--- a/app/assets/stylesheets/pages/projects.scss
+++ b/app/assets/stylesheets/pages/projects.scss
@@ -30,7 +30,13 @@
}
}
- .lead {
+ .project-home-desc {
+ h1 {
+ margin: 0;
+ margin-bottom: 10px;
+ font-size: 26px;
+ }
+
p {
display: inline;
}
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml
index 159ce1ecf3f..71e92970305 100644
--- a/app/views/projects/_home_panel.html.haml
+++ b/app/views/projects/_home_panel.html.haml
@@ -3,6 +3,7 @@
.project-identicon-holder
= project_icon(@project, alt: '', class: 'project-avatar avatar s90')
.project-home-desc.lead
+ %h1= @project.name
- if @project.description.present?
= markdown(@project.description, pipeline: :description)