Skip to content

Commit

Permalink
refs #23 各カードの下の余白が消えてしまうので調整
Browse files Browse the repository at this point in the history
  • Loading branch information
hmatsu47 committed Dec 20, 2021
1 parent 99321a5 commit 7eb025e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layouts/shortcodes/result.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
</a>
</div>
<div id="{{ $faq.質問 | sha1 }}" class="collapse" data-parent="#accordion">
<div class="card-body font-secondary text-color pt-0" style="white-space:pre-wrap; margin-bottom: 0px;">{{ $faq.回答 }}</div>
<div class="card-body font-secondary text-color pt-0" style="white-space:pre-wrap; margin-bottom: 0px;">{{ $faq.回答 | markdownify }}</div>
<div class="card-footer rounded-0 bg-white border p-0 border-0" style="text-align: right; margin-bottom: 0px; margin-right: 20px;">
{{ if eq (len $faq.更新日) 8 }}
最終更新日:{{ slicestr $faq.更新日 0 4 }}年{{ slicestr $faq.更新日 4 6 | strings.TrimLeft "0" }}月{{ slicestr $faq.更新日 6 | strings.TrimLeft "0" }}日&nbsp;
{{ end}}
<br/>
<br/>
</div>
</div>
{{ .Inner }}
Expand Down

0 comments on commit 7eb025e

Please sign in to comment.