diff --git a/app/assets/stylesheets/sections/tree.scss b/app/assets/stylesheets/sections/tree.scss index 96f2a57..efa95e6 100644 --- a/app/assets/stylesheets/sections/tree.scss +++ b/app/assets/stylesheets/sections/tree.scss @@ -113,3 +113,14 @@ float: left; margin-top: 5px; } + +.readme-holder { + border-top: 1px dashed #CCC; + padding-top: 10px; + + h4 { + font-size: 14px; + margin-bottom: 20px; + color: #777; + } +} diff --git a/app/views/projects/tree/_readme.html.haml b/app/views/projects/tree/_readme.html.haml index 98bacb4..1fccfbc 100644 --- a/app/views/projects/tree/_readme.html.haml +++ b/app/views/projects/tree/_readme.html.haml @@ -1,8 +1,8 @@ -.file-holder#README - .file-title +.readme-holder#README + %h4 %i.icon-file - = readme.name - .file-content.wiki + = readme.name + .wiki - if gitlab_markdown?(readme.name) = preserve do = markdown(readme.data) -- libgit2 0.21.2