From 00910679ad05ab42fc56b26c29182af07fd35230 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Thu, 26 Jun 2014 00:46:16 -0700 Subject: [PATCH] more topic summary tweaks --- app/assets/stylesheets/desktop/topic-post.scss | 17 ++++++++++++----- app/assets/stylesheets/mobile/topic-post.scss | 13 +++++++++++-- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index ad03c857d36..52790791777 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -372,8 +372,6 @@ a.star { color: scale-color($primary, $lightness: 50%); } - - .avatars { > div { float: left; @@ -388,7 +386,11 @@ a.star { font-weight: normal; font-size: 11px; line-height: 14px; - } + } + + /* limit to one line of avatars for now */ + height:30px; + overflow:hidden; } .avatar { @@ -417,7 +419,7 @@ a.star { .avatars, .links, .information { - padding: 7px 14px; + padding: 7px 10px; color: $primary; } .information { @@ -430,9 +432,14 @@ a.star { .topic-links { .badge-notification { - margin-right: 5px; + margin: 1px 5px 2px 0; } } + + td { + vertical-align: top; + } + .buttons { float: right; .btn { diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss index 9636922771a..b2e5545e4db 100644 --- a/app/assets/stylesheets/mobile/topic-post.scss +++ b/app/assets/stylesheets/mobile/topic-post.scss @@ -207,6 +207,10 @@ a.star { font-size: 11px; line-height: 14px; } + + /* limit to one line of avatars for now */ + height:30px; + overflow:hidden; } .avatar { @@ -240,7 +244,7 @@ a.star { .avatars, .links, .information { - padding: 7px 14px; + padding: 7px 10px; color: $primary; overflow: auto; } @@ -255,9 +259,14 @@ a.star { .topic-links { .badge-notification { - margin-right: 5px; + margin-right: 1px 5px 2px 0; } } + + td { + vertical-align: top; + } + .buttons { float: right; .btn {