1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

fix markdown padding

This commit is contained in:
Unknwon
2015-11-15 14:50:35 -05:00
parent 4f03b81ec7
commit 942284648e
3 changed files with 7 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
{{end}}
</h4>
<div class="ui attached table segment">
<div class="{{if .ReadmeExist}}markdown{{else if .IsFileText}}code-view{{end}}">
<div class="file-view {{if .ReadmeExist}}markdown{{else if .IsFileText}}code-view{{end}}">
{{if .ReadmeExist}}
{{if .FileContent}}{{.FileContent | Str2html}}{{end}}
{{else if not .IsFileText}}