From 2650cbfc87db907f9e3eb819f7a7e3a79182df3c Mon Sep 17 00:00:00 2001 From: Alex Corey Date: Thu, 14 Mar 2019 07:28:29 -0400 Subject: [PATCH] Fixes issue with inventory group names that are extremely long. --- awx/ui/client/legacy/styles/lists.less | 2 +- .../inventories/related/groups/groups.list.js | 4 ++-- .../inventories/related/hosts/related-host.list.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/awx/ui/client/legacy/styles/lists.less b/awx/ui/client/legacy/styles/lists.less index 4ca8c0a12a..48d4220663 100644 --- a/awx/ui/client/legacy/styles/lists.less +++ b/awx/ui/client/legacy/styles/lists.less @@ -109,7 +109,7 @@ table, tbody { .List-tableCell { padding: 7px 15px; border-top:0px!important; - word-wrap: break-word; + word-break: break-word; display: flex; align-items: center; height: 100%; diff --git a/awx/ui/client/src/inventories-hosts/inventories/related/groups/groups.list.js b/awx/ui/client/src/inventories-hosts/inventories/related/groups/groups.list.js index 895bfe5687..ab2308b2e9 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/related/groups/groups.list.js +++ b/awx/ui/client/src/inventories-hosts/inventories/related/groups/groups.list.js @@ -38,7 +38,7 @@ label: i18n._('Groups'), key: true, uiSref: "inventories.edit.groups.edit({group_id:group.id})", - columnClass: 'col-lg-6 col-md-6 col-sm-6 col-xs-6', + columnClass: 'col-lg-10 col-md-10 col-sm-10 col-xs-10', class: 'InventoryManage-breakWord', } }, @@ -98,7 +98,7 @@ fieldActions: { - columnClass: 'col-lg-6 col-md-6 col-sm-6 col-xs-6 text-right', + columnClass: 'col-lg-2 col-md-2 col-sm-2 col-xs-2 text-right', edit: { //label: 'Edit', diff --git a/awx/ui/client/src/inventories-hosts/inventories/related/hosts/related-host.list.js b/awx/ui/client/src/inventories-hosts/inventories/related/hosts/related-host.list.js index c10efa2ca8..4c220b6d61 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/related/hosts/related-host.list.js +++ b/awx/ui/client/src/inventories-hosts/inventories/related/hosts/related-host.list.js @@ -64,7 +64,7 @@ export default ['i18n', function(i18n) { label: i18n._('Hosts'), uiSref: ".edit({inventory_id: host.inventory_id,host_id: host.id})", ngClass: "{ 'host-disabled-label': !host.enabled }", - columnClass: 'col-lg-3 col-md-4 col-sm-8 col-xs-7', + columnClass: 'col-lg-5 col-md-4 col-sm-8 col-xs-7', dataHostId: "{{ host.id }}", dataType: "host", class: 'InventoryManage-breakWord' @@ -80,7 +80,7 @@ export default ['i18n', function(i18n) { fieldActions: { - columnClass: 'col-sm-4 col-xs-5 text-right', + columnClass: 'col-lg-2 col-sm-4 col-xs-5 text-right', edit: { ngClick: "editHost(host)", icon: 'icon-edit',