Commit 3c8d209e authored by Annabel Dunstone's avatar Annabel Dunstone

Redesign sublevel nav links; vertically align project image; fix spacing

parent 5436bfa8
...@@ -48,15 +48,20 @@ ...@@ -48,15 +48,20 @@
} }
} }
.cover-title {
margin-bottom: 0;
}
.project-image-container { .project-image-container {
@include make-sm-column(1); @include make-sm-column(1);
max-width: 86px; max-width: 86px;
min-width: 86px; min-width: 86px;
padding-right: 0; padding-right: 0;
margin: 11px 0;
@media (max-width: $screen-md-max) { @media (max-width: $screen-md-max) {
padding-left: 0; padding-left: 0;
margin-bottom: 10px; margin: 0 0 10px;
max-width: none; max-width: none;
min-width: none; min-width: none;
......
...@@ -17,17 +17,16 @@ ...@@ -17,17 +17,16 @@
%ul.nav %ul.nav
%li %li
= link_to namespace_project_commits_path(@project.namespace, @project, current_ref) do = link_to namespace_project_commits_path(@project.namespace, @project, current_ref) do
= pluralize(number_with_delimiter(@project.commit_count), 'commit') #{'Commit'.pluralize(@project.commit_count)} (#{number_with_delimiter(@project.commit_count)})
%li %li
= link_to namespace_project_branches_path(@project.namespace, @project) do = link_to namespace_project_branches_path(@project.namespace, @project) do
= pluralize(number_with_delimiter(@repository.branch_names.count), 'branch') #{'Branch'.pluralize(@repository.branch_names.count)} (#{number_with_delimiter(@repository.branch_names.count)})
%li %li
= link_to namespace_project_tags_path(@project.namespace, @project) do = link_to namespace_project_tags_path(@project.namespace, @project) do
= pluralize(number_with_delimiter(@repository.tag_names.count), 'tag') #{'Tag'.pluralize(@repository.tag_names.count)} (#{number_with_delimiter(@repository.tag_names.count)})
%li %li
= link_to project_files_path(@project) do = link_to project_files_path(@project) do
= repository_size Files (#{repository_size})
- if default_project_view != 'readme' && @repository.readme - if default_project_view != 'readme' && @repository.readme
%li %li
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment