Wiki Style Fixing
This commit is contained in:
parent
7166739086
commit
607d8b7970
3 changed files with 12 additions and 4 deletions
|
@ -189,3 +189,9 @@ $hover: #D9EDF7;
|
|||
*
|
||||
*/
|
||||
@import "sections/editor.scss";
|
||||
|
||||
/**
|
||||
* Wiki styles
|
||||
*
|
||||
*/
|
||||
@import "sections/wiki.scss";
|
||||
|
|
3
app/assets/stylesheets/sections/wiki.scss
Normal file
3
app/assets/stylesheets/sections/wiki.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
.wiki{
|
||||
padding: 5px;
|
||||
}
|
|
@ -10,10 +10,9 @@
|
|||
%i.icon-edit
|
||||
Edit
|
||||
%br
|
||||
.file_holder
|
||||
.file_content.wiki
|
||||
= preserve do
|
||||
= markdown @wiki.content
|
||||
.file_content.wiki
|
||||
= preserve do
|
||||
= markdown @wiki.content
|
||||
|
||||
%p.time Last edited by #{@wiki.user.name}, #{time_ago_in_words @wiki.created_at} ago
|
||||
- if can? current_user, :admin_wiki, @project
|
||||
|
|
Loading…
Reference in a new issue