summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-10-06 18:53:27 -0500
committerOmar Roth <omarroth@hotmail.com>2018-10-06 18:53:27 -0500
commita4d44d3286bc2d939c575061bb7db9328dce57dd (patch)
tree142f998fc02d77cff7290de55b05fa1937ed4384 /src
parentdc358fc7e558d572754d9fc68e6a4f73a54af8b2 (diff)
downloadinvidious-a4d44d3286bc2d939c575061bb7db9328dce57dd.tar.gz
invidious-a4d44d3286bc2d939c575061bb7db9328dce57dd.tar.bz2
invidious-a4d44d3286bc2d939c575061bb7db9328dce57dd.zip
Fix position of [ + ] button for YouTube comments
Diffstat (limited to 'src')
-rw-r--r--src/invidious/comments.cr23
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