fix random blank space on post content
This commit is contained in:
parent
d58c0b63f1
commit
7071165d04
|
@ -87,16 +87,18 @@
|
|||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
{{if .Content}}
|
||||
{{if .SpoilerText}}
|
||||
<details>
|
||||
<summary><span></span>{{.SpoilerText}}</summary>
|
||||
{{template "postcontent.tmpl" (WithContext $s $.Ctx)}}
|
||||
</details>
|
||||
{{else}}
|
||||
{{template "postcontent.tmpl" (WithContext $s $.Ctx)}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
<div class="status-content">
|
||||
{{if .Content}}
|
||||
{{if .SpoilerText}}
|
||||
<details>
|
||||
<summary><span></span>{{.SpoilerText}}</summary>
|
||||
{{template "postcontent.tmpl" (WithContext $s $.Ctx)}}
|
||||
</details>
|
||||
{{else}}
|
||||
{{template "postcontent.tmpl" (WithContext $s $.Ctx)}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
<div class="status-action-container">
|
||||
<div class="status-action">
|
||||
<a href="/thread/{{.ID}}?reply=true#status-{{.ID}}">
|
||||
|
|
Loading…
Reference in New Issue