diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-10-06 18:53:27 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-10-06 18:53:27 -0500 |
| commit | a4d44d3286bc2d939c575061bb7db9328dce57dd (patch) | |
| tree | 142f998fc02d77cff7290de55b05fa1937ed4384 | |
| parent | dc358fc7e558d572754d9fc68e6a4f73a54af8b2 (diff) | |
| download | invidious-a4d44d3286bc2d939c575061bb7db9328dce57dd.tar.gz invidious-a4d44d3286bc2d939c575061bb7db9328dce57dd.tar.bz2 invidious-a4d44d3286bc2d939c575061bb7db9328dce57dd.zip | |
Fix position of [ + ] button for YouTube comments
| -rw-r--r-- | src/invidious/comments.cr | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/invidious/comments.cr b/src/invidious/comments.cr index 45307bf7..ec89c66b 100644 --- a/src/invidious/comments.cr +++ b/src/invidious/comments.cr @@ -109,17 +109,18 @@ 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> - <div> - <p style="white-space:pre-wrap">#{child["contentHtml"]}</p> - #{recode_date(Time.epoch(child["published"].as_i64))} ago - | - <i class="icon ion-ios-thumbs-up"></i> #{child["likeCount"]} - </p> - #{replies_html} - </div> - </div> + <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 + | + <i class="icon ion-ios-thumbs-up"></i> #{child["likeCount"]} + </p> + #{replies_html} + </div> </div> END_HTML end |
