Commit 8e989d48 authored by Valeriy Sizov's avatar Valeriy Sizov

revert all wiki changes

parent 7a0a552b
...@@ -37,6 +37,20 @@ ...@@ -37,6 +37,20 @@
background:#fff; background:#fff;
font-size: 11px; font-size: 11px;
&.wiki {
font-size: 13px;
code {
padding:0 4px;
}
padding:20px;
h1, h2 {
line-height: 46px;
}
h3, h4 {
line-height: 40px;
}
}
&.image_file { &.image_file {
background:#eee; background:#eee;
text-align:center; text-align:center;
......
...@@ -189,9 +189,3 @@ $hover: #D9EDF7; ...@@ -189,9 +189,3 @@ $hover: #D9EDF7;
* *
*/ */
@import "sections/editor.scss"; @import "sections/editor.scss";
/**
* Wiki styles
*
*/
@import "sections/wiki.scss";
.wiki {
font-size: 13px;
code {
padding:0 4px;
}
padding:20px;
h1, h2 {
line-height: 46px;
}
h3, h4 {
line-height: 40px;
}
}
...@@ -10,9 +10,10 @@ ...@@ -10,9 +10,10 @@
%i.icon-edit %i.icon-edit
Edit Edit
%br %br
.file_content.wiki .file_holder
= preserve do .file_content.wiki
= markdown @wiki.content = preserve do
= markdown @wiki.content
%p.time Last edited by #{@wiki.user.name}, #{time_ago_in_words @wiki.created_at} ago %p.time Last edited by #{@wiki.user.name}, #{time_ago_in_words @wiki.created_at} ago
- if can? current_user, :admin_wiki, @project - if can? current_user, :admin_wiki, @project
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment