From 151490faf0e5f3711c4afdc6f05b68f234f237ff Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Sat, 16 Jan 2021 11:49:49 -0800 Subject: [PATCH] Add space next to comment collapse marker --- src/utils.rs | 2 +- static/style.css | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/utils.rs b/src/utils.rs index efffca5..4005a33 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -258,7 +258,7 @@ pub fn time(created: f64) -> (String, String) { format!("{}m ago", time_delta.whole_minutes()) }; - (rel_time, time.format("%b %d %Y %H:%M UTC")) + (rel_time, time.format("%b %d %Y, %H:%M UTC")) } // diff --git a/static/style.css b/static/style.css index 3988e05..7945bc9 100644 --- a/static/style.css +++ b/static/style.css @@ -901,13 +901,15 @@ td, th { padding: 5px 0; } - /* .comment_data::marker { - font-size: 18px; - } */ - - .created { - width: 100%; + .comment_left { + min-width: 45px; + padding: 5px 0px; } + + .comment_author { margin-left: 10px; } + .comment_score { min-width: 35px; } + .comment_data::marker { font-size: 18px; } + .created { width: 100%; } } @media screen and (max-width: 800px) {