From 27f016ba145326518417cb29e439429bbdd71c03 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 14 May 2013 12:32:37 -0700 Subject: [PATCH] Fix long thread titles in Conpherence Summary: Fixes T3161 - Long Conpherence titles cause layout issues, picked a reasonable size to break it. Test Plan: Create a long title, see the ellipses. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T3161 Differential Revision: https://secure.phabricator.com/D5927 --- src/__celerity_resource_map__.php | 2 +- webroot/rsrc/css/application/conpherence/menu.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index 36ef8aeb23..bd75dc9667 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -927,7 +927,7 @@ celerity_register_resource_map(array( ), 'conpherence-menu-css' => array( - 'uri' => '/res/3a60b96c/rsrc/css/application/conpherence/menu.css', + 'uri' => '/res/9991071e/rsrc/css/application/conpherence/menu.css', 'type' => 'css', 'requires' => array( diff --git a/webroot/rsrc/css/application/conpherence/menu.css b/webroot/rsrc/css/application/conpherence/menu.css index 2d209c90cf..9273fed3a9 100644 --- a/webroot/rsrc/css/application/conpherence/menu.css +++ b/webroot/rsrc/css/application/conpherence/menu.css @@ -105,6 +105,9 @@ font-size: 13px; color: #ffffff; text-shadow: 0px 1px 1px #000000; + overflow: hidden; + width: 160px; + text-overflow: ellipsis; } .conpherence-menu .conpherence-menu-item-view .conpherence-menu-item-subtitle {