From 56b2252541997d706dbfaadaca941220ee4678fd Mon Sep 17 00:00:00 2001 From: Lin Hua Cheng Date: Mon, 12 Nov 2012 10:57:49 -0800 Subject: [PATCH] For long tenant name, display an ellipsis using CSS3. Fixes bug 1057137. Change-Id: Ic73bd8fb8c1f160db3788582f0acab95649ecc93 --- openstack_dashboard/static/bootstrap/less/dropdowns.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openstack_dashboard/static/bootstrap/less/dropdowns.less b/openstack_dashboard/static/bootstrap/less/dropdowns.less index 1ec06b04a..a9b324f27 100644 --- a/openstack_dashboard/static/bootstrap/less/dropdowns.less +++ b/openstack_dashboard/static/bootstrap/less/dropdowns.less @@ -95,6 +95,8 @@ line-height: @baseLineHeight; color: @gray; white-space: nowrap; + overflow: hidden; + text-overflow:ellipsis; } }