From f0f47fd04585b61426638e57de826d71d25c41d7 Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Fri, 4 Jul 2014 20:21:58 -0400 Subject: [PATCH] truncating long names in the @ autocompleter --- app/assets/stylesheets/common/base/compose.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/common/base/compose.scss b/app/assets/stylesheets/common/base/compose.scss index a329320ed..807fce672 100644 --- a/app/assets/stylesheets/common/base/compose.scss +++ b/app/assets/stylesheets/common/base/compose.scss @@ -15,9 +15,16 @@ display: block; span.username { color: darken($primary, 40%); + display: inline-block; } span.name { font-size: 11px; + display: inline-block; + width: 90px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + vertical-align: middle; } &.selected { background-color: scale-color($tertiary, $lightness: 90%);