Fix position of [ + ] button for YouTube comments

This commit is contained in:
Omar Roth 2018-10-06 18:53:27 -05:00
parent dc358fc7e5
commit a4d44d3286

View file

@ -109,8 +109,10 @@ def template_youtube_comments(comments)
</div>
<div class="pure-u-20-24 pure-u-md-22-24">
<p>
<b><a href="#{child["authorUrl"]}">#{child["author"]}</a></b>
<a href="javascript:void(0)" onclick="toggle(this)">[ - ]</a>
<b>
<a href="#{child["authorUrl"]}">#{child["author"]}</a>
</b>
<div>
<p style="white-space:pre-wrap">#{child["contentHtml"]}</p>
#{recode_date(Time.epoch(child["published"].as_i64))} ago
@ -120,7 +122,6 @@ def template_youtube_comments(comments)
#{replies_html}
</div>
</div>
</div>
END_HTML
end