fixed yellow background in markdown documents
This commit is contained in:
parent
474a42cfbd
commit
442d5dbef2
3 changed files with 24 additions and 20 deletions
|
@ -1145,3 +1145,7 @@ li.note {
|
|||
max-width:100%;
|
||||
}
|
||||
}
|
||||
|
||||
.wiki_content code, .readme code{
|
||||
background-color: inherit;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue