Browse Source

fix random blank space on post content

master
alyssa rose 8 months ago
committed by alyssa
parent
commit
7071165d04
  1. 22
      templates/status.tmpl

22
templates/status.tmpl

@ -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…
Cancel
Save