revert all wiki changes
This commit is contained in:
parent
7a0a552b43
commit
8e989d4863
4 changed files with 18 additions and 22 deletions
|
@ -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;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@import "sections/editor.scss";
|
@import "sections/editor.scss";
|
||||||
|
|
||||||
/**
|
|
||||||
* Wiki styles
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
@import "sections/wiki.scss";
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
.wiki {
|
|
||||||
font-size: 13px;
|
|
||||||
code {
|
|
||||||
padding:0 4px;
|
|
||||||
}
|
|
||||||
padding:20px;
|
|
||||||
h1, h2 {
|
|
||||||
line-height: 46px;
|
|
||||||
}
|
|
||||||
h3, h4 {
|
|
||||||
line-height: 40px;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue