From a4d44d3286bc2d939c575061bb7db9328dce57dd Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 6 Oct 2018 18:53:27 -0500 Subject: [PATCH] Fix position of [ + ] button for YouTube comments --- src/invidious/comments.cr | 23 ++++++++++++----------- 1 file 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)

- #{child["author"]} - [ - ] -

-

#{child["contentHtml"]}

- #{recode_date(Time.epoch(child["published"].as_i64))} ago - | - #{child["likeCount"]} -

- #{replies_html} -
-
+ [ - ] + + #{child["author"]} + +
+

#{child["contentHtml"]}

+ #{recode_date(Time.epoch(child["published"].as_i64))} ago + | + #{child["likeCount"]} +

+ #{replies_html} +
END_HTML end