diff --git a/app/assets/stylesheets/sections/editor.scss b/app/assets/stylesheets/sections/editor.scss index 84f221b..e8ecab6 100644 --- a/app/assets/stylesheets/sections/editor.scss +++ b/app/assets/stylesheets/sections/editor.scss @@ -1,8 +1,11 @@ .file-editor { #editor{ + border: none; height: 500px; - width: 100%; + margin: 0; + padding: 0; position: relative; + width: 100%; } .editor-commit-comment { padding-top:20px; diff --git a/app/views/tree/edit.html.haml b/app/views/tree/edit.html.haml index a14a15b..638958e 100644 --- a/app/views/tree/edit.html.haml +++ b/app/views/tree/edit.html.haml @@ -6,7 +6,7 @@ %span.file_name = "#{@tree.path} (#{@ref})" .file_content.code - #editor= @tree.data + %pre#editor= @tree.data .editor-commit-comment = label_tag 'commit_message' do -- libgit2 0.21.2