Wiki style: move styles to right place

This commit is contained in:
Valeriy Sizov 2012-10-17 15:17:27 +03:00
parent 607d8b7970
commit 31f1cebe4b
3 changed files with 14 additions and 16 deletions

View file

@ -37,20 +37,6 @@
background:#fff;
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 {
background:#eee;
text-align:center;

View file

@ -1,3 +1,13 @@
.wiki {
padding: 5px;
font-size: 13px;
code {
padding:0 4px;
}
padding:20px;
h1, h2 {
line-height: 46px;
}
h3, h4 {
line-height: 40px;
}
}

View file

@ -176,6 +176,8 @@ module Gitlab
if commit = @project.commit(identifier)
link_to(identifier, project_commit_path(@project, commit), html_options.merge(title: CommitDecorator.new(commit).link_title, class: "gfm gfm-commit #{html_options[:class]}"))
end
rescue Grit::NoSuchPathError
nil
end
end
end