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,17 +109,18 @@ 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>
<div> <a href="#{child["authorUrl"]}">#{child["author"]}</a>
<p style="white-space:pre-wrap">#{child["contentHtml"]}</p> </b>
#{recode_date(Time.epoch(child["published"].as_i64))} ago <div>
| <p style="white-space:pre-wrap">#{child["contentHtml"]}</p>
<i class="icon ion-ios-thumbs-up"></i> #{child["likeCount"]} #{recode_date(Time.epoch(child["published"].as_i64))} ago
</p> |
#{replies_html} <i class="icon ion-ios-thumbs-up"></i> #{child["likeCount"]}
</div> </p>
</div> #{replies_html}
</div>
</div> </div>
END_HTML END_HTML
end end