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