From 08534810f6c009410bb60a999e0bc5bad9e6bc3e Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Tue, 17 Jul 2012 20:25:02 +0600 Subject: [PATCH] [refs #569] tuning fork modal --- app/assets/stylesheets/design/custom.scss | 6 +++++- app/views/projects/git/base/_fork.html.haml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/design/custom.scss b/app/assets/stylesheets/design/custom.scss index ffd173826..314f57a59 100644 --- a/app/assets/stylesheets/design/custom.scss +++ b/app/assets/stylesheets/design/custom.scss @@ -1187,5 +1187,9 @@ hr.bootstrap { } .fork-modal { - top: 35%; + top: 45%; +} + +.modal-body-fork { + max-height: 280px; } \ No newline at end of file diff --git a/app/views/projects/git/base/_fork.html.haml b/app/views/projects/git/base/_fork.html.haml index 19ac72be8..1e733798f 100644 --- a/app/views/projects/git/base/_fork.html.haml +++ b/app/views/projects/git/base/_fork.html.haml @@ -4,7 +4,7 @@ .modal-header %a.close{"data-dismiss" => "modal"} × %h3=t 'layout.projects.fork_modal_header' - .modal-body + .modal-body.modal-body-fork =render 'choose_fork', :owner => current_user %hr.bootstrap - Group.can_own_project(current_user).each do |group|