Skip to content

Commit

Permalink
Fix relationships header overflow (opensearch-project#3967)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrey Myssak <andreymyssak@gmail.com>
Signed-off-by: Sergey Myssak <sergey.myssak@gmail.com>
  • Loading branch information
SergeyMyssak and andreymyssak committed May 20, 2023
1 parent e737790 commit cd5eea6
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 11 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
@@ -0,0 +1,5 @@
.savedObjectsManagementRelationships__title {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ import { FormattedMessage } from '@osd/i18n/react';
import { IBasePath } from 'src/core/public';
import { getDefaultTitle, getSavedObjectLabel } from '../../../lib';
import { SavedObjectWithMetadata, SavedObjectRelation } from '../../../types';
import './relationships.scss';

export interface RelationshipsProps {
basePath: IBasePath;
Expand Down Expand Up @@ -337,7 +338,7 @@ export class Relationships extends Component<RelationshipsProps, RelationshipsSt
<EuiFlyout onClose={close}>
<EuiFlyoutHeader hasBorder>
<EuiTitle size="m">
<h2>
<h2 className="savedObjectsManagementRelationships__title">
<EuiToolTip position="top" content={getSavedObjectLabel(savedObject.type)}>
<EuiIcon
aria-label={getSavedObjectLabel(savedObject.type)}
Expand Down

0 comments on commit cd5eea6

Please sign in to comment.