Commit 6c1b44859d3ddddfbec619ef71f63a4084f5f6dd

Authored by Riyad Preukschas
1 parent b339c747

Fix Haml indenting file content

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