Skip to content

Commit

Permalink
[CCI] Fix relationships header overflow (#4070) (#4399)
Browse files Browse the repository at this point in the history
* Fix relationships header overflow (#3967)




* Replace relationships css file with oui classname (#3967)




* Make title overflow wrap instead of truncation (#3967)




* Remove icon from flyout header and wrap title



---------





(cherry picked from commit 6cee1a9)

Signed-off-by: Sergey Myssak <[email protected]>
Signed-off-by: Josh Romero <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andrey Myssak <[email protected]>
Co-authored-by: Josh Romero <[email protected]>
  • Loading branch information
4 people authored Jun 27, 2023
1 parent df7ec23 commit cb88211
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 132 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -336,18 +336,8 @@ export class Relationships extends Component<RelationshipsProps, RelationshipsSt
return (
<EuiFlyout onClose={close}>
<EuiFlyoutHeader hasBorder>
<EuiTitle size="m">
<h2>
<EuiToolTip position="top" content={getSavedObjectLabel(savedObject.type)}>
<EuiIcon
aria-label={getSavedObjectLabel(savedObject.type)}
size="m"
type={savedObject.meta.icon || 'apps'}
/>
</EuiToolTip>
&nbsp;&nbsp;
{savedObject.meta.title || getDefaultTitle(savedObject)}
</h2>
<EuiTitle size="m" className="eui-textBreakWord">
<h2>{savedObject.meta.title || getDefaultTitle(savedObject)}</h2>
</EuiTitle>
</EuiFlyoutHeader>

Expand Down

0 comments on commit cb88211

Please sign in to comment.