From 4e586aacad21e48cfb69b4052a5d0aba788709ae Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 4 Nov 2024 22:01:32 +0000 Subject: fixup info-styles, add collapse everywhere --- src/views/comments.pug | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/views') diff --git a/src/views/comments.pug b/src/views/comments.pug index 50c54ec..bfb0e35 100644 --- a/src/views/comments.pug +++ b/src/views/comments.pug @@ -21,7 +21,15 @@ html h3.sub-title a(href=`/r/${post.subreddit}`) ← r/#{post.subreddit} - h2 #{post.title} + div.info-container + p + | #{fmtnum(post.ups)} ↑ + |  ·  by u/#{post.author} + |  ·  + | #{timeDifference(Date.now(), post.created * 1000)} + + h2.post-title + != post.title if post.is_gallery && post.is_gallery == true if post.gallery_data @@ -48,13 +56,6 @@ html if post.selftext_html p.self-text !{post.selftext_html} - div.info-container - p - | #{fmtnum(post.ups)} ↑ - |  ·  by u/#{post.author} - |  ·  - | #{timeDifference(Date.now(), post.created * 1000)} - hr div.comments-container -- cgit v1.2.3