fixed yellow background in markdown documents

This commit is contained in:
Valery Sizov 2012-03-27 23:04:21 +03:00
parent 474a42cfbd
commit 442d5dbef2
3 changed files with 24 additions and 20 deletions

View file

@ -1145,3 +1145,7 @@ li.note {
max-width:100%;
}
}
.wiki_content code, .readme code{
background-color: inherit;
}

View file

@ -7,8 +7,8 @@
= link_to edit_project_wiki_path(@project, @wiki), :class => "btn small" do
Edit
%hr
= markdown_to_html @wiki.content
.wiki_content
= markdown_to_html @wiki.content
%p.time Last edited by #{@wiki.user.name}, in #{time_ago_in_words @wiki.created_at}
- if can? current_user, :admin_wiki, @project