summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-15 14:50:35 -0500
committerUnknwon <u@gogs.io>2015-11-15 14:50:35 -0500
commit942284648e4abf045fea5b97d3f9a3d4f4d00d77 (patch)
treec6e4cb8a0099f6958f33db6bc5cfe51402ad0925 /templates
parent4f03b81ec777813820d4e33ec11893e214ec27d2 (diff)
downloadgitea-942284648e4abf045fea5b97d3f9a3d4f4d00d77.tar.gz
gitea-942284648e4abf045fea5b97d3f9a3d4f4d00d77.zip
fix markdown padding
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/view_file.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl
index 827e51931d..5751d2e3dd 100644
--- a/templates/repo/view_file.tmpl
+++ b/templates/repo/view_file.tmpl
@@ -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}}