Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66DA117591 for ; Wed, 29 Oct 2014 18:08:24 +0000 (UTC) Received: (qmail 48500 invoked by uid 500); 29 Oct 2014 18:08:24 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 48464 invoked by uid 500); 29 Oct 2014 18:08:24 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 48455 invoked by uid 99); 29 Oct 2014 18:08:24 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2014 18:08:24 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E053688480E; Wed, 29 Oct 2014 18:08:23 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bfederle@apache.org To: commits@cloudstack.apache.org Message-Id: <46a8286bfc294b6b965fcf16b2944db1@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated refs/heads/master to 160fc13 Date: Wed, 29 Oct 2014 18:08:23 +0000 (UTC) Repository: cloudstack Updated Branches: refs/heads/master 94b16b3bd -> 160fc1371 Project dashboard: Fix user label overflow Adds text-overflow for long user names on project dashboard Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/160fc137 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/160fc137 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/160fc137 Branch: refs/heads/master Commit: 160fc13713d1ee7a7d5990f43f1e553fff34848b Parents: 94b16b3 Author: Brian Federle Authored: Thu Oct 23 11:29:02 2014 -0700 Committer: Brian Federle Committed: Wed Oct 29 11:07:48 2014 -0700 ---------------------------------------------------------------------- ui/css/cloudstack3.css | 18 +++++++++++------- ui/scripts/ui-custom/projects.js | 3 ++- 2 files changed, 13 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/160fc137/ui/css/cloudstack3.css ---------------------------------------------------------------------- diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css index a2f0d2c..3ae2ed4 100644 --- a/ui/css/cloudstack3.css +++ b/ui/css/cloudstack3.css @@ -10012,13 +10012,17 @@ div.container div.panel div#details-tab-addloadBalancer.detail-group div.loadBal } .project-dashboard-view .users .system-dashboard li .header { - width: 77px; - /*+placement:shift 7px 110px;*/ - position: relative; - left: 7px; - top: 110px; - position: absolute; - text-align: center; + width: 77px; + max-width: 77px; + /*+placement:shift 7px 110px;*/ + position: relative; + left: 7px; + top: 110px; + position: absolute; + text-align: center; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } /**** Info box*/ http://git-wip-us.apache.org/repos/asf/cloudstack/blob/160fc137/ui/scripts/ui-custom/projects.js ---------------------------------------------------------------------- diff --git a/ui/scripts/ui-custom/projects.js b/ui/scripts/ui-custom/projects.js index d897ac9..372c6e5 100644 --- a/ui/scripts/ui-custom/projects.js +++ b/ui/scripts/ui-custom/projects.js @@ -106,7 +106,8 @@ $.each(item, function(arrayKey, arrayValue) { var $arrayElem = $li.find('[data-list-item=' + arrayKey + ']'); - $arrayElem.html(_s(arrayValue)); + $arrayElem.text(_s(arrayValue)); + $arrayElem.attr('title', _s(arrayValue)); }); $li.attr({