diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap b/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap index f5767b32b4bc..7cb3d96dee94 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap @@ -10,10 +10,9 @@ exports[`Relationships from legacy app should render dashboards normally 1`] = ` -

+

-    - MyDashboard +

+    + MyDashboard +

@@ -171,10 +174,9 @@ exports[`Relationships from legacy app should render errors 1`] = ` -

+

-    - MyDashboard +

+    + MyDashboard +

@@ -217,10 +223,9 @@ exports[`Relationships from legacy app should render index patterns normally 1`] -

+

-    - MyIndexPattern* +

+    + MyIndexPattern* +

@@ -383,10 +392,9 @@ exports[`Relationships from legacy app should render searches normally 1`] = ` -

+

-    - MySearch +

+    + MySearch +

@@ -549,10 +561,9 @@ exports[`Relationships from legacy app should render visualizations normally 1`] -

+

-    - MyViz +

+    + MyViz +

@@ -710,10 +725,9 @@ exports[`Relationships should render dashboards normally 1`] = ` -

+

-    - MyDashboard +

+    + MyDashboard +

@@ -871,10 +889,9 @@ exports[`Relationships should render errors 1`] = ` -

+

-    - MyDashboard +

+    + MyDashboard +

@@ -917,10 +938,9 @@ exports[`Relationships should render index patterns normally 1`] = ` -

+

-    - MyIndexPattern* +

+    + MyIndexPattern* +

@@ -1083,10 +1107,9 @@ exports[`Relationships should render searches normally 1`] = ` -

+

-    - MySearch +

+    + MySearch +

@@ -1249,10 +1276,9 @@ exports[`Relationships should render visualizations normally 1`] = ` -

+

-    - MyViz +

+    + MyViz +

diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.scss b/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.scss new file mode 100644 index 000000000000..be685d31002a --- /dev/null +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.scss @@ -0,0 +1,8 @@ +.savedObjectsManagementRelationships__tooltipAnchor { + position: absolute; +} + +.savedObjectsManagementRelationships__title { + text-indent: 16px; + overflow-wrap: break-word; +} diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx index 0ff4f967abac..89fcee172c2f 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx @@ -28,6 +28,7 @@ * under the License. */ +import './relationships.scss'; import React, { Component } from 'react'; import { EuiTitle, @@ -337,16 +338,21 @@ export class Relationships extends Component -

- +

+ -    - {savedObject.meta.title || getDefaultTitle(savedObject)} +

+   {savedObject.meta.title || getDefaultTitle(savedObject)} +