(refs #230)Fix markdown preview styles

This commit is contained in:
takezoe
2014-05-18 16:04:38 +09:00
parent 9ecc10ab21
commit f6eb2e2dc8

View File

@@ -54,7 +54,9 @@
@if(content.viewType == "text"){
@defining(pathList.reverse.head) { file =>
@if(renderableSuffixes.find(suffix => file.toLowerCase.endsWith(suffix))) {
<div class="box-content markdown-body" style="border: none; padding-left: 16px; padding-right: 16px;">
@renderMarkup(pathList, content.content.get, branch, repository, false, false)
</div>
} else {
<pre class="prettyprint linenums blob">@content.content.get</pre>
}