From e7e6b7233bc882b559877a6048895f0d0ec1e6a6 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 26 Aug 2014 14:16:19 -0700 Subject: [PATCH] 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 --- ui/css/cloudstack3.css | 2 +- ui/scripts/globalSettings.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css index f6aefc92c61..be2992ac2cb 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 { diff --git a/ui/scripts/globalSettings.js b/ui/scripts/globalSettings.js index f5f150f70d6..4cbfd07b238 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'