From dec7a9b998f837d467eeba5c97863846906453d1 Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Mon, 10 Feb 2014 09:45:35 -0500 Subject: [PATCH 1/3] now that wbr tags are inputted, breaking usernames a bit more natually --- app/assets/stylesheets/desktop/topic-post.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 01684918b00..39424fcdb51 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -609,7 +609,7 @@ position: relative; h3 { font-size: 13px; margin-top: 5px; - word-wrap: break-word; + overflow: hidden; line-height: 1.2em; } } From 6d47fabec7f84d3d1c7075955b35fa1a4cc597dc Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Tue, 11 Feb 2014 00:46:17 -0500 Subject: [PATCH 2/3] fixing restricted badge padding --- app/assets/stylesheets/common/components/badges.css.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/common/components/badges.css.scss b/app/assets/stylesheets/common/components/badges.css.scss index dd89b8130d4..ca687fe8c01 100644 --- a/app/assets/stylesheets/common/components/badges.css.scss +++ b/app/assets/stylesheets/common/components/badges.css.scss @@ -32,6 +32,7 @@ div { display: inline-block; margin: 0; + padding-right: 6px; } } } From 3b71f8af3ad813264204da739794b09ac9165b7f Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Tue, 11 Feb 2014 00:53:14 -0500 Subject: [PATCH 3/3] fixing restricted badge padding in the dropdown menu --- .../stylesheets/common/components/badges.css.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common/components/badges.css.scss b/app/assets/stylesheets/common/components/badges.css.scss index ca687fe8c01..e18bacdd989 100644 --- a/app/assets/stylesheets/common/components/badges.css.scss +++ b/app/assets/stylesheets/common/components/badges.css.scss @@ -32,11 +32,19 @@ div { display: inline-block; margin: 0; - padding-right: 6px; } } } +.d-dropdown .badge-category { +&.restricted { + div { + display: inline-block; + margin: 0; + padding-right: 6px; + } +}} + h1 a.badge-category div {vertical-align: top;}