mirror of
				https://github.com/gitbucket/gitbucket.git
				synced 2025-10-31 18:46:28 +01:00 
			
		
		
		
	(refs #230)Fix markdown preview styles
This commit is contained in:
		| @@ -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> | ||||
|               } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user