mirror of
				https://github.com/gitbucket/gitbucket.git
				synced 2025-10-31 10:36:05 +01:00 
			
		
		
		
	(refs #230)Fix markdown preview styles
This commit is contained in:
		| @@ -54,7 +54,9 @@ | |||||||
|           @if(content.viewType == "text"){ |           @if(content.viewType == "text"){ | ||||||
|             @defining(pathList.reverse.head) { file => |             @defining(pathList.reverse.head) { file => | ||||||
|               @if(renderableSuffixes.find(suffix => file.toLowerCase.endsWith(suffix))) { |               @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) |                   @renderMarkup(pathList, content.content.get, branch, repository, false, false) | ||||||
|  |                 </div> | ||||||
|               } else { |               } else { | ||||||
|                 <pre class="prettyprint linenums blob">@content.content.get</pre> |                 <pre class="prettyprint linenums blob">@content.content.get</pre> | ||||||
|               } |               } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user