Commit 6c1b44859d3ddddfbec619ef71f63a4084f5f6dd

Authored by Riyad Preukschas
1 parent b339c747

Fix Haml indenting file content

app/assets/stylesheets/sections/editor.scss
1 .file-editor { 1 .file-editor {
2 #editor{ 2 #editor{
  3 + border: none;
3 height: 500px; 4 height: 500px;
4 - width: 100%; 5 + margin: 0;
  6 + padding: 0;
5 position: relative; 7 position: relative;
  8 + width: 100%;
6 } 9 }
7 .editor-commit-comment { 10 .editor-commit-comment {
8 padding-top:20px; 11 padding-top:20px;
app/views/tree/edit.html.haml
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 %span.file_name 6 %span.file_name
7 = "#{@tree.path} (#{@ref})" 7 = "#{@tree.path} (#{@ref})"
8 .file_content.code 8 .file_content.code
9 - #editor= @tree.data 9 + %pre#editor= @tree.data
10 10
11 .editor-commit-comment 11 .editor-commit-comment
12 = label_tag 'commit_message' do 12 = label_tag 'commit_message' do