From cd552170a425da4832d1d2151414f61811cd5fb3 Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Wed, 8 Apr 2015 16:31:19 -0400 Subject: [PATCH] rounding the post-count squares in topic summaries --- app/assets/stylesheets/desktop/topic-post.scss | 9 +++++---- app/assets/stylesheets/mobile/topic-post.scss | 11 +++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 230e28b1490..901bdb96e33 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -350,12 +350,13 @@ a.star { } .post-count { position: absolute; - top: 2px; - right: 6px; - padding: 0 4px; + right: 3px; + border-radius: 100px; + padding: 4px 5px 2px 5px; + text-align: center; font-weight: normal; font-size: 11px; - line-height: 14px; + line-height: 1; } } diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss index 165018ea495..0a21d580b99 100644 --- a/app/assets/stylesheets/mobile/topic-post.scss +++ b/app/assets/stylesheets/mobile/topic-post.scss @@ -188,14 +188,14 @@ a.star { } .post-count { position: absolute; - top: 2px; - right: 6px; - padding: 0 4px; + right: 3px; + border-radius: 100px; + padding: 4px 5px 2px 5px; + text-align: center; font-weight: normal; font-size: 11px; - line-height: 14px; + line-height: 1; } - } /* in expanded avatar view, limit to one line for now */ @@ -500,4 +500,3 @@ span.highlighted { .read-state { display: none; } -