You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2014/08/26 23:18:10 UTC

git commit: updated refs/heads/master to e7e6b72

Repository: cloudstack
Updated Branches:
  refs/heads/master 5b221c212 -> e7e6b7233


CLOUDSTACK-4046: Fix global settings CSS

-Truncate key/name field to prevent long strings from stretching the
 table width beyond the container bounds.

-Update min-width for truncated fields for better compatibility


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e7e6b723
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e7e6b723
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e7e6b723

Branch: refs/heads/master
Commit: e7e6b7233bc882b559877a6048895f0d0ec1e6a6
Parents: 5b221c2
Author: Brian Federle <br...@citrix.com>
Authored: Tue Aug 26 14:16:19 2014 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Tue Aug 26 14:17:54 2014 -0700

----------------------------------------------------------------------
 ui/css/cloudstack3.css       | 2 +-
 ui/scripts/globalSettings.js | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e7e6b723/ui/css/cloudstack3.css
----------------------------------------------------------------------
diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css
index f6aefc9..be2992a 100644
--- a/ui/css/cloudstack3.css
+++ b/ui/css/cloudstack3.css
@@ -164,7 +164,7 @@ table tbody td.loading {
 
 table tbody td.truncated {
   overflow: visible;
-  max-width: 88px;
+  max-width: 120px;
 }
 
 table tbody td.truncated > span {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e7e6b723/ui/scripts/globalSettings.js
----------------------------------------------------------------------
diff --git a/ui/scripts/globalSettings.js b/ui/scripts/globalSettings.js
index f5f150f..4cbfd07 100644
--- a/ui/scripts/globalSettings.js
+++ b/ui/scripts/globalSettings.js
@@ -63,7 +63,8 @@
                     fields: {
                         name: {
                             label: 'label.name',
-                            id: true
+                            id: true,
+                            truncate: true
                         },
                         description: {
                             label: 'label.description'