mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-13 12:08:47 +00:00
This commit is contained in:
parent
ef5de94a8f
commit
ff1d2c251a
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
import { faAngleRight } from '@fortawesome/free-solid-svg-icons';
|
import { faAngleRight } from '@fortawesome/free-solid-svg-icons';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
|
import { Tooltip } from 'antd';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import React, {
|
import React, {
|
||||||
FunctionComponent,
|
FunctionComponent,
|
||||||
@ -106,17 +107,19 @@ const TitleBreadcrumb: FunctionComponent<TitleBreadcrumbProps> = ({
|
|||||||
</Link>
|
</Link>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<span
|
<Tooltip align={{ offset: [0, 10] }} title={link.name}>
|
||||||
className={classNames(
|
<span
|
||||||
classes,
|
className={classNames(
|
||||||
'tw-cursor-text hover:tw-text-primary hover:tw-no-underline'
|
classes,
|
||||||
)}
|
'tw-cursor-text hover:tw-text-primary hover:tw-no-underline'
|
||||||
data-testid="inactive-link"
|
)}
|
||||||
style={{
|
data-testid="inactive-link"
|
||||||
maxWidth,
|
style={{
|
||||||
}}>
|
maxWidth,
|
||||||
{link.name}
|
}}>
|
||||||
</span>
|
{link.name}
|
||||||
|
</span>
|
||||||
|
</Tooltip>
|
||||||
{noLink && index < titleLinks.length - 1 && (
|
{noLink && index < titleLinks.length - 1 && (
|
||||||
<span className="tw-px-2">
|
<span className="tw-px-2">
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user