diff options
-rw-r--r-- | app/assets/stylesheets/sections/editor.scss | 11 | ||||
-rw-r--r-- | app/views/projects/new_tree/show.html.haml | 14 |
2 files changed, 7 insertions, 18 deletions
diff --git a/app/assets/stylesheets/sections/editor.scss b/app/assets/stylesheets/sections/editor.scss index 0bfbc0f2ad5..057f7b7fd44 100644 --- a/app/assets/stylesheets/sections/editor.scss +++ b/app/assets/stylesheets/sections/editor.scss @@ -34,15 +34,4 @@ margin: 5px 8px 0 8px; } } - .commit_message-group { - margin-top: 20px; - - label { - font-size: 16px; - line-height: 20px; - } - textarea { - @extend .col-md-8; - } - } } diff --git a/app/views/projects/new_tree/show.html.haml b/app/views/projects/new_tree/show.html.haml index b206bc000a6..078a4b80d0d 100644 --- a/app/views/projects/new_tree/show.html.haml +++ b/app/views/projects/new_tree/show.html.haml @@ -6,13 +6,13 @@ = label_tag 'file_name', class: "control-label" do File name .col-sm-10 - %span.monospace= @path[-1] == "/" ? @path : @path + "/" - - = text_field_tag 'file_name', params[:file_name], placeholder: "sample.rb", required: true, class: 'form-control' - %span - - on - %span.label-branch= @ref + .input-group + %span.input-group-addon + = @path[-1] == "/" ? @path : @path + "/" + = text_field_tag 'file_name', params[:file_name], placeholder: "sample.rb", required: true, class: 'form-control' + %span.input-group-addon + on + %span= @ref .form-group.commit_message-group = label_tag 'commit_message', class: "control-label" do |