diff options
author | Dimitrie Hoekstra <dimitriehoekstra@gmail.com> | 2017-06-30 16:18:50 +0200 |
---|---|---|
committer | Dimitrie Hoekstra <dimitriehoekstra@gmail.com> | 2017-06-30 16:18:50 +0200 |
commit | 424ce617f32f4b18679424139dd524317bdf3193 (patch) | |
tree | 1ff5cf0eea22c997181c32b99f70e2a6db181d1d | |
parent | d245608fbc9c4ea2fa068c4fa0f638dc87e1c4eb (diff) | |
download | gitlab-ce-adjust-readme-repo-width.tar.gz |
adjusted project home to be 990px wide, and adjusted readme containeradjust-readme-repo-width
-rw-r--r-- | app/assets/stylesheets/framework/files.scss | 2 | ||||
-rw-r--r-- | app/views/projects/show.html.haml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/files.scss b/app/assets/stylesheets/framework/files.scss index 245117b2559..c7c2684d548 100644 --- a/app/assets/stylesheets/framework/files.scss +++ b/app/assets/stylesheets/framework/files.scss @@ -17,6 +17,8 @@ max-width: $limited-layout-width-sm; margin-left: auto; margin-right: auto; + padding-top: 64px; + padding-bottom: 64px; } } diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index e1e70a53709..152e50a79bb 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -73,7 +73,7 @@ = link_to add_special_file_path(@project, file_name: '.gitlab-ci.yml', commit_message: 'Set up auto deploy', branch_name: 'auto-deploy', context: 'autodeploy') do #{ _('Set up auto deploy') } -%div{ class: container_class } +%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] } - if @project.archived? .text-warning.center.prepend-top-20 %p |