Skip to content

Commit

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

Co-authored-by: Andrey Myssak <[email protected]>
Signed-off-by: Sergey Myssak <[email protected]>

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

Co-authored-by: Andrey Myssak <[email protected]>
Signed-off-by: Sergey Myssak <[email protected]>

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

Co-authored-by: Andrey Myssak <[email protected]>
Signed-off-by: Sergey Myssak <[email protected]>

* Remove icon from flyout header and wrap title

Signed-off-by: Josh Romero <[email protected]>

---------

Signed-off-by: Sergey Myssak <[email protected]>
Signed-off-by: Josh Romero <[email protected]>
Co-authored-by: Andrey Myssak <[email protected]>
Co-authored-by: Josh Romero <[email protected]>
  • Loading branch information
3 people authored Jun 26, 2023
1 parent fc4e696 commit 6cee1a9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 132 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

- [Chore] Update deprecated url methods (url.parse(), url.format()) ([#2910](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2910))
- Cleanup unused url ([#3847](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3847))
- [Saved Objects Management] Fix relationships header overflow ([#4070](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4070))

### 🚞 Infrastructure

Expand Down

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 6cee1a9

Please sign in to comment.